diff options
author | Brian Harring <ferringb@gmail.com> | 2006-05-26 03:27:57 -0700 |
---|---|---|
committer | Brian Harring <ferringb@gmail.com> | 2006-05-26 03:27:57 -0700 |
commit | 31a98c77f8520a650814e275973de7e3161de06c (patch) | |
tree | 09666c8aa8522c7af06ccc0cc10ebae631bed753 /bin | |
parent | I must have been on crack when I added that- don't screw with CC/CXX... (diff) | |
download | pkgcore-31a98c77f8520a650814e275973de7e3161de06c.tar.gz pkgcore-31a98c77f8520a650814e275973de7e3161de06c.tar.bz2 pkgcore-31a98c77f8520a650814e275973de7e3161de06c.zip |
doh. if stripping down args list, don't fall back to sys.argv for actual restriction generation
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/utilities/powner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/utilities/powner.py b/bin/utilities/powner.py index 9c58d8dee..8c35813d9 100755 --- a/bin/utilities/powner.py +++ b/bin/utilities/powner.py @@ -26,7 +26,7 @@ if __name__ == "__main__": all = grab_arg("-a", a) or grab_arg("--all", a) repo = load_config().domain["livefs domain"].vdb[0] restrict = packages.PackageRestriction("contents", values.ContainmentMatch( - *[normpath(x) for x in sys.argv[1:]])) + *[normpath(x) for x in a])) start_time = time.time() count = 0 print "query- %s, returning all matches? %s" % (restrict, all) |