diff --git a/git_cl.py b/git_cl.py index 52c091f36..95a141b02 100755 --- a/git_cl.py +++ b/git_cl.py @@ -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