mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-15 05:48:11 +00:00
updated all python files to use pep-3110 exception syntax for python3 compatibility
This commit is contained in:
@ -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 = []
|
||||
|
Reference in New Issue
Block a user