summaryrefslogtreecommitdiffstats
path: root/bin/env-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/env-update')
-rwxr-xr-xbin/env-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/env-update b/bin/env-update
index 30e25d0b2..3fa21c7fa 100755
--- a/bin/env-update
+++ b/bin/env-update
@@ -31,7 +31,7 @@ except ImportError:
import portage
try:
portage.env_update(makelinks)
-except IOError, e:
+except IOError as e:
if e.errno == errno.EACCES:
print "env-update: Need superuser access"
sys.exit(1)