summaryrefslogtreecommitdiffstats
path: root/subcmds/sync.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/sync.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/sync.py')
-rw-r--r--subcmds/sync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index 5c369a74..6c903ff4 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -406,7 +406,7 @@ later is required to fix a server side protocol bug.
406 groups = None) 406 groups = None)
407 407
408 if project.IsDirty(): 408 if project.IsDirty():
409 print('error: Cannot remove project "%s": uncommitted changes' 409 print('error: Cannot remove project "%s": uncommitted changes '
410 'are present' % project.relpath, file=sys.stderr) 410 'are present' % project.relpath, file=sys.stderr)
411 print(' commit changes, then run sync again', 411 print(' commit changes, then run sync again',
412 file=sys.stderr) 412 file=sys.stderr)
@@ -466,7 +466,7 @@ later is required to fix a server side protocol bug.
466 466
467 if opt.smart_sync or opt.smart_tag: 467 if opt.smart_sync or opt.smart_tag:
468 if not self.manifest.manifest_server: 468 if not self.manifest.manifest_server:
469 print('error: cannot smart sync: no manifest server defined in' 469 print('error: cannot smart sync: no manifest server defined in '
470 'manifest', file=sys.stderr) 470 'manifest', file=sys.stderr)
471 sys.exit(1) 471 sys.exit(1)
472 472