updated all python files to use pep-3110 exception syntax for python3 compatibility

This commit is contained in:
heartsucker
2019-03-28 12:45:28 +01:00
parent ef6cc501f6
commit 0750dbac38
42 changed files with 113 additions and 88 deletions

View File

@ -15,7 +15,7 @@ def check_file(path):
def check_thing(parser, thing):
try:
ast = parser(thing)
except SyntaxError, e:
except SyntaxError as e:
return e
else:
results = []