diff options
Diffstat (limited to 'subcmds/upload.py')
-rw-r--r-- | subcmds/upload.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py index 618a10e1..4bcdfaf9 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py | |||
@@ -72,16 +72,16 @@ def _VerifyPendingCommits(branches: List[ReviewableBranch]) -> bool: | |||
72 | # If any branch has many commits, prompt the user. | 72 | # If any branch has many commits, prompt the user. |
73 | if many_commits: | 73 | if many_commits: |
74 | if len(branches) > 1: | 74 | if len(branches) > 1: |
75 | logger.warn( | 75 | logger.warning( |
76 | "ATTENTION: One or more branches has an unusually high number " | 76 | "ATTENTION: One or more branches has an unusually high number " |
77 | "of commits." | 77 | "of commits." |
78 | ) | 78 | ) |
79 | else: | 79 | else: |
80 | logger.warn( | 80 | logger.warning( |
81 | "ATTENTION: You are uploading an unusually high number of " | 81 | "ATTENTION: You are uploading an unusually high number of " |
82 | "commits." | 82 | "commits." |
83 | ) | 83 | ) |
84 | logger.warn( | 84 | logger.warning( |
85 | "YOU PROBABLY DO NOT MEAN TO DO THIS. (Did you rebase across " | 85 | "YOU PROBABLY DO NOT MEAN TO DO THIS. (Did you rebase across " |
86 | "branches?)" | 86 | "branches?)" |
87 | ) | 87 | ) |