Chromium Code Reviews| Index: git_cl.py |
| diff --git a/git_cl.py b/git_cl.py |
| index 638612e15914bd3f7645728943a55f5bd9c715f4..46035f3291219804e7cb1ac51de1b8376f91023c 100755 |
| --- a/git_cl.py |
| +++ b/git_cl.py |
| @@ -3205,7 +3205,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 |