diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-03-05 17:26:46 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-03-05 17:30:59 +0900 |
commit | 2f9e7e40c44acae37d0c263c212956ef6038c35b (patch) | |
tree | b5bffccb2c4f6a502a350bef3e40183f56ca8bc9 /subcmds/cherry_pick.py | |
parent | 45d21685b93f80b67239849b2d2cfe6b217e335a (diff) | |
download | git-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/cherry_pick.py')
-rw-r--r-- | subcmds/cherry_pick.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/cherry_pick.py b/subcmds/cherry_pick.py index 01b97e07..520e4c32 100644 --- a/subcmds/cherry_pick.py +++ b/subcmds/cherry_pick.py | |||
@@ -81,7 +81,7 @@ change id will be added. | |||
81 | sys.exit(1) | 81 | sys.exit(1) |
82 | 82 | ||
83 | else: | 83 | else: |
84 | print('NOTE: When committing (please see above) and editing the commit' | 84 | print('NOTE: When committing (please see above) and editing the commit ' |
85 | 'message, please remove the old Change-Id-line and add:') | 85 | 'message, please remove the old Change-Id-line and add:') |
86 | print(self._GetReference(sha1), file=sys.stderr) | 86 | print(self._GetReference(sha1), file=sys.stderr) |
87 | print(file=sys.stderr) | 87 | print(file=sys.stderr) |