From 8a68ff96057ec58e524a3e41a2d8dca7b5d016bc Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Mon, 24 Sep 2012 12:15:13 +0900 Subject: Coding style cleanup Fix the following issues reported by pylint: C0321: More than one statement on a single line W0622: Redefining built-in 'name' W0612: Unused variable 'name' W0613: Unused argument 'name' W0102: Dangerous default value 'value' as argument W0105: String statement has no effect Also fixed a few cases of inconsistent indentation. Change-Id: Ie0db839e7c57d576cff12d8c055fe87030d00744 --- subcmds/start.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'subcmds/start.py') diff --git a/subcmds/start.py b/subcmds/start.py index 00885076..be645314 100644 --- a/subcmds/start.py +++ b/subcmds/start.py @@ -52,10 +52,10 @@ revision specified in the manifest. print >>sys.stderr, "error: at least one project must be specified" sys.exit(1) - all = self.GetProjects(projects) + all_projects = self.GetProjects(projects) - pm = Progress('Starting %s' % nb, len(all)) - for project in all: + pm = Progress('Starting %s' % nb, len(all_projects)) + for project in all_projects: pm.update() # If the current revision is a specific SHA1 then we can't push back # to it so substitute the manifest default revision instead. -- cgit v1.2.3-54-g00ecf