summaryrefslogtreecommitdiffstats
path: root/bin/fixpackages
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fixpackages')
-rwxr-xr-xbin/fixpackages2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fixpackages b/bin/fixpackages
index a5f24a7e5..dc7a5d24f 100755
--- a/bin/fixpackages
+++ b/bin/fixpackages
@@ -19,7 +19,7 @@ mtimedb = portage.mtimedb
try:
os.nice(int(mysettings.get("PORTAGE_NICENESS", "0")))
-except (OSError, ValueError), e:
+except (OSError, ValueError) as e:
portage.writemsg("!!! Failed to change nice value to '%s'\n" % \
mysettings["PORTAGE_NICENESS"])
portage.writemsg("!!! %s\n" % str(e))