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/init.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'subcmds/init.py') diff --git a/subcmds/init.py b/subcmds/init.py index 7aaa7f17..eeadc70d 100644 --- a/subcmds/init.py +++ b/subcmds/init.py @@ -279,14 +279,14 @@ to update the working directory files. print() print("Testing colorized output (for 'repo diff', 'repo status'):") - for c in ['black','red','green','yellow','blue','magenta','cyan']: + for c in ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan']: out.write(' ') out.printer(fg=c)(' %-6s ', c) out.write(' ') out.printer(fg='white', bg='black')(' %s ' % 'white') out.nl() - for c in ['bold','dim','ul','reverse']: + for c in ['bold', 'dim', 'ul', 'reverse']: out.write(' ') out.printer(fg='black', attr=c)(' %-6s ', c) out.nl() -- cgit v1.2.3-54-g00ecf