summaryrefslogtreecommitdiffstats
path: root/subcmds/sync.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-11-14 12:09:38 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2012-11-14 12:09:38 +0900
commit8f62fb7bd305337994bced7d23b347d0d39f5faf (patch)
tree7a00915a4e6138fe2c12d6f8d181b623df8962a2 /subcmds/sync.py
parentc1b86a232383748811c6faf17f364e63e10f7dd4 (diff)
downloadgit-repo-8f62fb7bd305337994bced7d23b347d0d39f5faf.tar.gz
Tidy up code formatting a bit more
Enable the following Pylint warnings: C0322: Operator not preceded by a space C0323: Operator not followed by a space C0324: Comma not followed by a space And make the necessary fixes. Change-Id: I74d74283ad5138cbaf28d492b18614eb355ff9fe
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r--subcmds/sync.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index df64ab09..5b3dca78 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -150,22 +150,22 @@ later is required to fix a server side protocol bug.
150 p.add_option('-f', '--force-broken', 150 p.add_option('-f', '--force-broken',
151 dest='force_broken', action='store_true', 151 dest='force_broken', action='store_true',
152 help="continue sync even if a project fails to sync") 152 help="continue sync even if a project fails to sync")
153 p.add_option('-l','--local-only', 153 p.add_option('-l', '--local-only',
154 dest='local_only', action='store_true', 154 dest='local_only', action='store_true',
155 help="only update working tree, don't fetch") 155 help="only update working tree, don't fetch")
156 p.add_option('-n','--network-only', 156 p.add_option('-n', '--network-only',
157 dest='network_only', action='store_true', 157 dest='network_only', action='store_true',
158 help="fetch only, don't update working tree") 158 help="fetch only, don't update working tree")
159 p.add_option('-d','--detach', 159 p.add_option('-d', '--detach',
160 dest='detach_head', action='store_true', 160 dest='detach_head', action='store_true',
161 help='detach projects back to manifest revision') 161 help='detach projects back to manifest revision')
162 p.add_option('-c','--current-branch', 162 p.add_option('-c', '--current-branch',
163 dest='current_branch_only', action='store_true', 163 dest='current_branch_only', action='store_true',
164 help='fetch only current branch from server') 164 help='fetch only current branch from server')
165 p.add_option('-q','--quiet', 165 p.add_option('-q', '--quiet',
166 dest='quiet', action='store_true', 166 dest='quiet', action='store_true',
167 help='be more quiet') 167 help='be more quiet')
168 p.add_option('-j','--jobs', 168 p.add_option('-j', '--jobs',
169 dest='jobs', action='store', type='int', 169 dest='jobs', action='store', type='int',
170 help="projects to fetch simultaneously (default %d)" % self.jobs) 170 help="projects to fetch simultaneously (default %d)" % self.jobs)
171 p.add_option('-m', '--manifest-name', 171 p.add_option('-m', '--manifest-name',