aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gmail.com>2006-05-26 03:27:57 -0700
committerBrian Harring <ferringb@gmail.com>2006-05-26 03:27:57 -0700
commit31a98c77f8520a650814e275973de7e3161de06c (patch)
tree09666c8aa8522c7af06ccc0cc10ebae631bed753 /bin
parentI must have been on crack when I added that- don't screw with CC/CXX... (diff)
downloadpkgcore-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-xbin/utilities/powner.py2
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)