summaryrefslogtreecommitdiffstats
path: root/bin/env-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/env-update')
-rwxr-xr-xbin/env-update10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/env-update b/bin/env-update
index 3fa21c7fa..912602f7b 100755
--- a/bin/env-update
+++ b/bin/env-update
@@ -6,9 +6,9 @@
import sys, errno
def usage(status):
- print "Usage: env-update [--no-ldconfig]"
- print ""
- print "See the env-update(1) man page for more info"
+ print("Usage: env-update [--no-ldconfig]")
+ print("")
+ print("See the env-update(1) man page for more info")
sys.exit(status)
if "-h" in sys.argv or "--help" in sys.argv:
@@ -20,7 +20,7 @@ if "--no-ldconfig" in sys.argv:
sys.argv.pop(sys.argv.index("--no-ldconfig"))
if len(sys.argv) > 1:
- print "!!! Invalid command line options!\n"
+ print("!!! Invalid command line options!\n")
usage(1)
try:
@@ -33,7 +33,7 @@ try:
portage.env_update(makelinks)
except IOError as e:
if e.errno == errno.EACCES:
- print "env-update: Need superuser access"
+ print("env-update: Need superuser access")
sys.exit(1)
else:
raise