mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-24 03:02:12 +01:00
Avoid adding a newline to prompt in 'wipe' command
This commit is contained in:
parent
8eb360234e
commit
88c2bf4fea
@ -7285,7 +7285,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
build_root = osc_build.calculate_build_root(apihost, prj, pac, repo, arch, user)
|
||||
if opts.wipe and not opts.force:
|
||||
# Confirm delete
|
||||
print("Really wipe '%s'? [y/N]: " % build_root)
|
||||
print("Really wipe '%s'? [y/N]: " % build_root, end="")
|
||||
choice = raw_input().lower()
|
||||
if choice != 'y':
|
||||
print('Aborting')
|
||||
|
Loading…
x
Reference in New Issue
Block a user