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/help.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/help.py')
-rw-r--r-- | subcmds/help.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/help.py b/subcmds/help.py index 15aab7f9..78428825 100644 --- a/subcmds/help.py +++ b/subcmds/help.py | |||
@@ -49,7 +49,7 @@ Displays detailed usage information about a command. | |||
49 | except AttributeError: | 49 | except AttributeError: |
50 | summary = '' | 50 | summary = '' |
51 | print(fmt % (name, summary)) | 51 | print(fmt % (name, summary)) |
52 | print("See 'repo help <command>' for more information on a" | 52 | print("See 'repo help <command>' for more information on a " |
53 | 'specific command.') | 53 | 'specific command.') |
54 | 54 | ||
55 | def _PrintCommonCommands(self): | 55 | def _PrintCommonCommands(self): |