make the profile option work again
authorSeth Vidal <skvidal@fedoraproject.org>
Fri, 12 Sep 2008 18:36:51 +0000 (14:36 -0400)
committerSeth Vidal <skvidal@fedoraproject.org>
Fri, 12 Sep 2008 18:36:51 +0000 (14:36 -0400)
genpkgmetadata.py

index 6c573ee2bed494bc0ea71046b31ab917fa7cc547..5fe9a9a9f5a3ec1e052ceceebe0cfbdb47f2847b 100755 (executable)
@@ -84,7 +84,7 @@ def parseArgs(args, conf):
                       help="include the file's checksum in the filename, helps" \
                            "with proxies")
                            
-    (opts, argsleft) = parser.parse_args()
+    (opts, argsleft) = parser.parse_args(args)
     if len(argsleft) > 1 and not opts.split:
         errorprint(_('Error: Only one directory allowed per run.'))
         parser.print_usage()