1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-02 09:46:16 +01:00

do_wipe: replaced sys.stdout.write calls with print calls

This commit is contained in:
Marcus Huewe 2016-10-31 19:32:08 +01:00
parent 06120b3323
commit 9800a7a706

View File

@ -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