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/rebase.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/rebase.py')
| -rw-r--r-- | subcmds/rebase.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/subcmds/rebase.py b/subcmds/rebase.py index 06cda22c..b9a7774d 100644 --- a/subcmds/rebase.py +++ b/subcmds/rebase.py | |||
| @@ -68,7 +68,7 @@ branch but need to incorporate new upstream changes "underneath" them. | |||
| 68 | cb = project.CurrentBranch | 68 | cb = project.CurrentBranch | 
| 69 | if not cb: | 69 | if not cb: | 
| 70 | if one_project: | 70 | if one_project: | 
| 71 | print("error: project %s has a detatched HEAD" % project.relpath, | 71 | print("error: project %s has a detached HEAD" % project.relpath, | 
| 72 | file=sys.stderr) | 72 | file=sys.stderr) | 
| 73 | return -1 | 73 | return -1 | 
| 74 | # ignore branches with detatched HEADs | 74 | # ignore branches with detatched HEADs | 
