From: Zac Medico Date: Wed, 23 Jul 2008 21:27:05 +0000 (-0000) Subject: Fix bug in get_repo_path() when called with multiple args. X-Git-Tag: v2.2_rc3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eae644d55d854520281720532b41317ced5a6af2;p=portage.git Fix bug in get_repo_path() when called with multiple args. svn path=/main/trunk/; revision=11179 --- 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): """