forked from catchorg/Catch2
Minor fixes to python scripts by pycodestyle
This commit is contained in:
committed by
Martin Hořeňovský
parent
64be2ad96c
commit
9e7c281e6e
@@ -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)
|
||||
|
Reference in New Issue
Block a user