From 13b409e2e155a951b51c5fdfb0391cbcbb8d9622 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 21 Oct 2007 04:25:46 +0000 Subject: Rename variable for consistency. svn path=/main/trunk/; revision=8192 --- pym/_emerge/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- cgit v1.2.3-1-g7c22