mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-08 20:15:47 +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:]))
|
sys.exit(run_external(cmd[0], *cmd[1:]))
|
||||||
else:
|
else:
|
||||||
# Confirm delete
|
# Confirm delete
|
||||||
sys.stdout.write("Really wipe '"+buildroot+"'? [y/N]: ")
|
print("Really wipe '%s'? [y/N]: " % buildroot)
|
||||||
choice = raw_input().lower()
|
choice = raw_input().lower()
|
||||||
if choice == 'y':
|
if choice == 'y':
|
||||||
sys.exit(run_external(cmd[0], *cmd[1:]))
|
sys.exit(run_external(cmd[0], *cmd[1:]))
|
||||||
else:
|
else:
|
||||||
sys.stdout.write("Aborting\n")
|
print('Aborting')
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
# Normal chroot
|
# Normal chroot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user