From: Zac Medico Date: Thu, 26 Aug 2010 14:34:12 +0000 (-0700) Subject: Fix UnboundLocalError for y on line 177 in _expand_new_virtuals() X-Git-Tag: v2.2_rc70~67 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b2dd1c7ea0c454334e3f7a56fcd25c65927f4dac;p=portage.git Fix UnboundLocalError for y on line 177 in _expand_new_virtuals() --- 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)