summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-26 07:34:12 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-26 07:34:12 -0700
commitb2dd1c7ea0c454334e3f7a56fcd25c65927f4dac (patch)
treec76a3d3b3ead1c79e2c34bebecb5b7c31f22db8f
parent2953dc41e84b8b1762f6a4bf71197fda45b95301 (diff)
downloadportage-b2dd1c7ea0c454334e3f7a56fcd25c65927f4dac.tar.gz
portage-b2dd1c7ea0c454334e3f7a56fcd25c65927f4dac.tar.bz2
portage-b2dd1c7ea0c454334e3f7a56fcd25c65927f4dac.zip
Fix UnboundLocalError for y on line 177 in _expand_new_virtuals()
-rw-r--r--pym/portage/dep/dep_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dep/dep_check.py b/pym/portage/dep/dep_check.py
index 4e0d319db..132103719 100644
--- a/pym/portage/dep/dep_check.py
+++ b/pym/portage/dep/dep_check.py
@@ -174,7 +174,7 @@ def _expand_new_virtuals(mysplit, edebug, mydbapi, mysettings, myroot="/",
if not mycheck[0]:
raise ParseError(
- "%s: %s '%s'" % (y[0], mycheck[1], depstring))
+ "%s: %s '%s'" % (pkg, mycheck[1], depstring))
# pull in the new-style virtual
mycheck[1].append(virt_atom)