summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-23 21:27:05 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-23 21:27:05 +0000
commiteae644d55d854520281720532b41317ced5a6af2 (patch)
tree632daf5adbf982781424d40eaeca0bb0604dfb94 /bin
parentFix typo, found by pyflakes. (diff)
downloadportage-idfetch-eae644d55d854520281720532b41317ced5a6af2.tar.gz
portage-idfetch-eae644d55d854520281720532b41317ced5a6af2.tar.bz2
portage-idfetch-eae644d55d854520281720532b41317ced5a6af2.zip
Fix bug in get_repo_path() when called with multiple args.
svn path=/main/trunk/; revision=11179
Diffstat (limited to 'bin')
-rwxr-xr-xbin/portageq2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/portageq b/bin/portageq
index be7f51a8..61cba4ab 100755
--- a/bin/portageq
+++ b/bin/portageq
@@ -384,7 +384,7 @@ def get_repo_path(argv):
print "ERROR: insufficient parameters!"
sys.exit(2)
for arg in argv[1:]:
- print portage.db[argv[0]]["porttree"].dbapi.getRepositoryPath(argv[1])
+ print portage.db[argv[0]]["porttree"].dbapi.getRepositoryPath(arg)
def list_preserved_libs(argv):
"""<root>