Make gtester-report compatible with Python 3

Convert tabs to spaces and replace print with print().
The script still works with Python 2.x.

https://bugzilla.gnome.org/show_bug.cgi?id=696324
This commit is contained in:
Jan de Groot 2013-03-21 19:51:28 +00:00 committed by Jürg Billeter
parent 1c6e6671d1
commit 4d74ca4c3a

View File

@ -464,7 +464,7 @@ def parse_opts():
" Needs python-subunit]")
options, files = parser.parse_args()
if options.version:
print parser.epilog
print(parser.epilog)
return None, None
if len(files) != 1:
parser.error("Must supply a log file to parse.")