Skip to content

Commit

Permalink
Avoid adding a newline to prompt in 'wipe' command
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Sep 27, 2023
1 parent f55605d commit 6cfe998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -7285,7 +7285,7 @@ def do_build(self, subcmd, opts, *args):
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')
Expand Down

0 comments on commit 6cfe998

Please sign in to comment.