From 9800a7a7063bd336182e9b58d8fcccf7fe446fc7 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Mon, 31 Oct 2016 19:32:08 +0100 Subject: [PATCH] do_wipe: replaced sys.stdout.write calls with print calls --- osc/commandline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index 46beced4..f17a1599 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -6164,12 +6164,12 @@ Please submit there instead, or use --nodevelproject to force direct submission. sys.exit(run_external(cmd[0], *cmd[1:])) else: # Confirm delete - sys.stdout.write("Really wipe '"+buildroot+"'? [y/N]: ") + print("Really wipe '%s'? [y/N]: " % buildroot) choice = raw_input().lower() if choice == 'y': sys.exit(run_external(cmd[0], *cmd[1:])) else: - sys.stdout.write("Aborting\n") + print('Aborting') sys.exit(0) # Normal chroot