diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-07-12 17:51:41 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2023-07-12 17:51:41 +0000 |
commit | 6131d440859383618d6c2119008a535a720b90a0 (patch) | |
tree | b572984e3ffc12b0dbdcfd6a186b18dbb2ae2f3e | |
parent | c13f6bfa45790548c43314db6e51ecc2b5999219 (diff) | |
parent | b51e9906c090724203b931f6eafe4ac75d425b65 (diff) | |
download | repohooks-6131d440859383618d6c2119008a535a720b90a0.tar.gz |
Merge "pre-upload: Ask user confirmation even for 1 hook" into main
-rwxr-xr-x | pre-upload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pre-upload.py b/pre-upload.py index 59b601a..90d16f1 100755 --- a/pre-upload.py +++ b/pre-upload.py @@ -282,7 +282,7 @@ def _attempt_fixes(projects_results: List[rh.results.ProjectResults]) -> None: # If there's more than one fixup available, ask if they want to blindly run # them all, or prompt for them one-by-one. - mode = None + mode = 'some' if len(fixups) > 1: while True: response = rh.terminal.str_prompt( |