From: Zac Medico Date: Sun, 21 Oct 2007 04:25:46 +0000 (-0000) Subject: Rename variable for consistency. X-Git-Tag: v2.2_pre1~579 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=13b409e2e155a951b51c5fdfb0391cbcbb8d9622;p=portage.git Rename variable for consistency. svn path=/main/trunk/; revision=8192 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 9368135bc..0384ce33f 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -1564,13 +1564,13 @@ class depgraph(object): raise del e arg_atoms.append((x, mykey)) - except ValueError, errpkgs: + except ValueError, e: if not e.args or not isinstance(e.args[0], list) or \ len(e.args[0]) < 2: raise print "\n\n!!! The short ebuild name \"" + x + "\" is ambiguous. Please specify" print "!!! one of the following fully-qualified ebuild names instead:\n" - for i in errpkgs[0]: + for i in e.args[0]: print " " + green(i) print return False, myfavorites