summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/Package.py2
1 files changed, 1 insertions, 1 deletions
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):