Rename variable for consistency.
authorZac Medico <zmedico@gentoo.org>
Sun, 21 Oct 2007 04:25:46 +0000 (04:25 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 21 Oct 2007 04:25:46 +0000 (04:25 -0000)
svn path=/main/trunk/; revision=8192

pym/_emerge/__init__.py

index 9368135bc1cf6559b655ed8d74c86adedfaef500..0384ce33fd7925c608e82afcdf4b1979f5de4aa8 100644 (file)
@@ -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