Minor fixes to python scripts by pycodestyle

This commit is contained in:
Marcus Näslund 2018-04-19 15:02:15 +02:00 committed by Martin Hořeňovský
parent 64be2ad96c
commit 9e7c281e6e
9 changed files with 35 additions and 33 deletions

View file

@ -15,7 +15,7 @@ def runAndCapture( args ):
line = ""
while True:
out = child.stdout.read(1)
if out == '' and child.poll() != None:
if out == '' and child.poll():
break
if out != '':
if out == '\n':