summaryrefslogtreecommitdiffstats
path: root/subcmds/upload.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2013-03-05 17:26:46 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2013-03-05 17:30:59 +0900
commit2f9e7e40c44acae37d0c263c212956ef6038c35b (patch)
treeb5bffccb2c4f6a502a350bef3e40183f56ca8bc9 /subcmds/upload.py
parent45d21685b93f80b67239849b2d2cfe6b217e335a (diff)
downloadgit-repo-2f9e7e40c44acae37d0c263c212956ef6038c35b.tar.gz
Fix: Missing spaces in printed messages
Several messages are printed with the `print` method and the message is split across two lines, i.e.: print('This is a message split' 'across two source code lines') Which causes the message to be printed as: This is a message splitacross two source code lines Add a space at the end of the first line before the line break: print('This is a message split ' 'across two source code lines' Also correct a minor spelling mistake. Change-Id: Ib98d93fcfb98d78f48025fcc428b6661380cff79
Diffstat (limited to 'subcmds/upload.py')
-rw-r--r--subcmds/upload.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py
index e314032a..48ee685c 100644
--- a/subcmds/upload.py
+++ b/subcmds/upload.py
@@ -27,11 +27,11 @@ UNUSUAL_COMMIT_THRESHOLD = 5
27 27
28def _ConfirmManyUploads(multiple_branches=False): 28def _ConfirmManyUploads(multiple_branches=False):
29 if multiple_branches: 29 if multiple_branches:
30 print('ATTENTION: One or more branches has an unusually high number' 30 print('ATTENTION: One or more branches has an unusually high number '
31 'of commits.') 31 'of commits.')
32 else: 32 else:
33 print('ATTENTION: You are uploading an unusually high number of commits.') 33 print('ATTENTION: You are uploading an unusually high number of commits.')
34 print('YOU PROBABLY DO NOT MEAN TO DO THIS. (Did you rebase across' 34 print('YOU PROBABLY DO NOT MEAN TO DO THIS. (Did you rebase across '
35 'branches?)') 35 'branches?)')
36 answer = raw_input("If you are sure you intend to do this, type 'yes': ").strip() 36 answer = raw_input("If you are sure you intend to do this, type 'yes': ").strip()
37 return answer == "yes" 37 return answer == "yes"