running lib2to3.fixes.fix_except
This commit is contained in:
+1
-1
@@ -475,7 +475,7 @@ def compile_views(folder, skip_failed_views=False):
|
||||
for fname in listdir(path, '^[\w/\-]+(\.\w+)*$'):
|
||||
try:
|
||||
data = parse_template(fname, path)
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
if skip_failed_views:
|
||||
failed_views.append(fname)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user