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:
parent
06120b3323
commit
9800a7a706
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user