summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/sbin/bcfg2-admin6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin
index bf7296517..71ac68efc 100755
--- a/src/sbin/bcfg2-admin
+++ b/src/sbin/bcfg2-admin
@@ -35,14 +35,14 @@ if __name__ == '__main__':
modes.remove('mode')
if len(args) < 1 or args[0] == 'help':
- sys.stdout.write("Usage: bcfg2-admin MODE [ARGS]\n\n"
+ print ("Usage: bcfg2-admin MODE [ARGS]\n\n"
"Available modes are:")
if len(args) > 1:
args = [args[1], args[0]]
else:
for mode in modes:
- sys.stdout.write("\n %-12s %s" %
- (mode, mode_import(mode).__shorthelp__))
+ print (" %-12s %s" %
+ (mode, mode_import(mode).__shorthelp__))
raise SystemExit(0)
if args[0] in modes:
modname = args[0].capitalize()