mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 04:43:06 +02:00
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:
parent
1c6e6671d1
commit
4d74ca4c3a
@ -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.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user