Fix broken except statement. Thanks to hawking.
authorZac Medico <zmedico@gentoo.org>
Wed, 2 Jul 2008 22:44:03 +0000 (22:44 -0000)
committerZac 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

index b6c3da569895b5c9b441c6611c1509eecf90886b..07f22a95ec08a8d643d8925fe573c532ef119547 100644 (file)
@@ -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):