summaryrefslogtreecommitdiffstats
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
parent094b064e5d5fcb933cc83dadd2059a2c16768fd2 (diff)
downloadportage-2.2_rc3.tar.gz
portage-2.2_rc3.tar.bz2
portage-2.2_rc3.zip
Fix bug in get_repo_path() when called with multiple args.v2.2_rc3
svn path=/main/trunk/; revision=11179
-rwxr-xr-xbin/portageq2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/portageq b/bin/portageq
index be7f51a88..61cba4ab8 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>