From 8f62fb7bd305337994bced7d23b347d0d39f5faf Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 14 Nov 2012 12:09:38 +0900 Subject: 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 --- subcmds/sync.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'subcmds/sync.py') 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. p.add_option('-f', '--force-broken', dest='force_broken', action='store_true', help="continue sync even if a project fails to sync") - p.add_option('-l','--local-only', + p.add_option('-l', '--local-only', dest='local_only', action='store_true', help="only update working tree, don't fetch") - p.add_option('-n','--network-only', + p.add_option('-n', '--network-only', dest='network_only', action='store_true', help="fetch only, don't update working tree") - p.add_option('-d','--detach', + p.add_option('-d', '--detach', dest='detach_head', action='store_true', help='detach projects back to manifest revision') - p.add_option('-c','--current-branch', + p.add_option('-c', '--current-branch', dest='current_branch_only', action='store_true', help='fetch only current branch from server') - p.add_option('-q','--quiet', + p.add_option('-q', '--quiet', dest='quiet', action='store_true', help='be more quiet') - p.add_option('-j','--jobs', + p.add_option('-j', '--jobs', dest='jobs', action='store', type='int', help="projects to fetch simultaneously (default %d)" % self.jobs) p.add_option('-m', '--manifest-name', -- cgit v1.2.3-54-g00ecf