summaryrefslogtreecommitdiffstats
path: root/bin/regenworld
diff options
context:
space:
mode:
Diffstat (limited to 'bin/regenworld')
-rwxr-xr-xbin/regenworld2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/regenworld b/bin/regenworld
index e8eb1253d..932995d5a 100755
--- a/bin/regenworld
+++ b/bin/regenworld
@@ -89,7 +89,7 @@ for mykey in biglist:
except (portage.exception.InvalidAtom, KeyError):
if "--debug" in sys.argv:
print "* ignoring broken log entry for %s (likely injected)" % mykey
- except ValueError, e:
+ except ValueError as e:
print "* %s is an ambigous package name, candidates are:\n%s" % (mykey, e)
continue
if mylist: