summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-29 21:34:51 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-29 21:34:51 +0000
commit315c984fb453ceaec830fd7920586b9f241a550f (patch)
tree28670d5c0a6962d653e6396b2efb446fcfba35f4
parentd06268eafbfeff29343aa6665bd8b87f0cf887fe (diff)
downloadportage-315c984fb453ceaec830fd7920586b9f241a550f.tar.gz
portage-315c984fb453ceaec830fd7920586b9f241a550f.tar.bz2
portage-315c984fb453ceaec830fd7920586b9f241a550f.zip
Use portage_exception.InvalidAtom directly instead of from portage_dep.
svn path=/main/branches/2.1.2/; revision=10484
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 87e2366a5..f6c520975 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -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)