projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a33c0b6
)
Fix broken except statement. Thanks to hawking.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 2 Jul 2008 22:44:03 +0000
(22:44 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 2 Jul 2008 22:44:03 +0000
(22:44 -0000)
svn path=/main/trunk/; revision=10896
pym/portage_compat_namespace.py
patch
|
blob
|
history
diff --git
a/pym/portage_compat_namespace.py
b/pym/portage_compat_namespace.py
index b6c3da569895b5c9b441c6611c1509eecf90886b..07f22a95ec08a8d643d8925fe573c532ef119547 100644
(file)
--- a/
pym/portage_compat_namespace.py
+++ b/
pym/portage_compat_namespace.py
@@
-28,7
+28,7
@@
else:
try:
__package = __import__(__newname, globals(), locals())
__realmodule = getattr(__package, __newname[8:])
-except
ImportError, AttributeError
:
+except
(ImportError, AttributeError)
:
raise ImportError("No module named %s" % __oldname)
def _formatwarning(message, category, filename, lineno):