From: Arfrever Frehtes Taifersar Arahesis Date: Tue, 29 Sep 2009 23:25:19 +0000 (-0000) Subject: Fix SyntaxError with Python 3 added in r14462. X-Git-Tag: v2.2_rc43~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dfdc4507983a2a3df0ebd7fbc814bd15280f229a;p=portage.git Fix SyntaxError with Python 3 added in r14462. svn path=/main/trunk/; revision=14465 --- diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index 0642083d2..d6970b5f2 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -211,7 +211,7 @@ class _PackageMetadataWrapper(_PackageMetadataWrapperBase): elif k in self._use_conditional_keys: try: use_reduce(paren_reduce(v), matchall=1) - except portage.exception.InvalidDependString, e: + except portage.exception.InvalidDependString as e: self._pkg._invalid_metadata(k + ".syntax", "%s: %s" % (k, e)) def _set_inherited(self, k, v):