From: Zac Medico Date: Sun, 25 May 2008 04:04:05 +0000 (-0000) Subject: Fix portage_exception namespace. X-Git-Tag: v2.1.5.3~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cdf89b0156dfbb6f5004e44b47d2119bdb0bde8c;p=portage.git Fix portage_exception namespace. svn path=/main/branches/2.1.2/; revision=10404 --- diff --git a/pym/portage.py b/pym/portage.py index a4f17a234..496539304 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5729,7 +5729,7 @@ def dep_expand(mydep, mydb=None, use_cache=1, settings=None): use_cache=use_cache, settings=settings) try: return portage_dep.Atom(prefix + expanded + postfix) - except portage.exception.InvalidAtom: + except portage_exception.InvalidAtom: # Missing '=' prefix is allowed for backward compatibility. if not isvalidatom("=" + prefix + expanded + postfix): raise