From: Zac Medico Date: Wed, 2 Jul 2008 22:44:03 +0000 (-0000) Subject: Fix broken except statement. Thanks to hawking. X-Git-Tag: v2.2_rc2~240 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f7369f9f1234c4765c72917a2258cc0ee369a74;p=portage.git Fix broken except statement. Thanks to hawking. svn path=/main/trunk/; revision=10896 --- diff --git a/pym/portage_compat_namespace.py b/pym/portage_compat_namespace.py index b6c3da569..07f22a95e 100644 --- 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):