Commit 4a5ecbe6 authored by sergiyb's avatar sergiyb Committed by Commit bot

Default to y(es) when asking user about archiving committed branches

R=tandrii@chromium.org

Review-Url: https://codereview.chromium.org/2074723002
parent a60502f2
......@@ -3212,7 +3212,8 @@ def CMDarchive(parser, args):
return 1
if not options.force:
if ask_for_data('\nProceed with deletion (Y/N)? ').lower() != 'y':
answer = ask_for_data('\nProceed with deletion (Y/n)? ').lower()
if answer not in ('y', ''):
print('Aborted.')
return 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment