From b2dd1c7ea0c454334e3f7a56fcd25c65927f4dac Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 26 Aug 2010 07:34:12 -0700 Subject: Fix UnboundLocalError for y on line 177 in _expand_new_virtuals() --- pym/portage/dep/dep_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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) -- cgit v1.2.3-1-g7c22