diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-03-24 23:07:07 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-03-24 23:07:07 +0000 |
commit | d0cdb2ddf27fbd485527bb9ca0ace6c8cf740fa6 (patch) | |
tree | 47319b695499716d1fc99b93ec54b04c1b495451 | |
parent | a473f00cac751c8860ad481c6e2fa9636a06ef42 (diff) | |
download | cpython-git-d0cdb2ddf27fbd485527bb9ca0ace6c8cf740fa6.tar.gz |
another style nit
-rw-r--r-- | Lib/unittest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/unittest.py b/Lib/unittest.py index aaed6a26d4..dde27fb95c 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -809,7 +809,8 @@ class _WritelnDecorator(object): return getattr(self.stream,attr) def writeln(self, arg=None): - if arg: self.write(arg) + if arg: + self.write(arg) self.write('\n') # text-mode streams translate to \r\n if needed |