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

R=tandrii@chromium.org

Review-Url: https://codereview.chromium.org/2074723002
changes/90/365990/1
sergiyb 9 years ago committed by Commit bot
parent a60502f2d3
commit 4a5ecbe615

@ -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

Loading…
Cancel
Save