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

@ -1,5 +1,7 @@
#!/usr/bin/env python
from __future__ import print_function
import os
import re
import urllib2
@ -41,7 +43,6 @@ for line in lines:
pass
elif line.startswith( "Date:"):
dates.append( line[5:].lstrip() )
pass
elif line == "" and prevLine == "":
pass
else:
@ -58,7 +59,7 @@ for line in lines:
else:
messages.append( line2 )
print "All changes between {0} and {1}:\n".format( dates[-1], dates[0] )
print("All changes between {0} and {1}:\n".format( dates[-1], dates[0] ))
for line in messages:
print line
print(line)