Use portage_exception.InvalidAtom directly instead of from portage_dep.
authorZac Medico <zmedico@gentoo.org>
Thu, 29 May 2008 21:34:51 +0000 (21:34 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 29 May 2008 21:34:51 +0000 (21:34 -0000)
svn path=/main/branches/2.1.2/; revision=10484

bin/emerge

index 87e2366a5d713460e0a254d089f86e7491eccc03..f6c5209753874a796b337b24b2c4f3ccd8cf8c5e 100755 (executable)
@@ -793,7 +793,7 @@ class InternalPackageSet(object):
        def add(self, atom):
                try:
                        atom = portage_dep.Atom(atom)
-               except portage_dep.InvalidAtom:
+               except portage_exception.InvalidAtom:
                        self._nonatoms.add(atom)
                        return
                cp_list = self._atoms.get(atom.cp)