running lib2to3.fixes.fix_except
This commit is contained in:
1 parent
14830e8906
commit
35900da19b
35 files changed
+93
-92
No files matched your search
@@ -305,7 +305,7 @@ class Collection(object):
|
||||
response.headers['location'] = \
|
||||
URL(args=(tablename,res.id),scheme=True)
|
||||
return ''
|
||||
except SyntaxError,e: #Exception,e:
|
||||
except SyntaxError as e: #Exception,e:
|
||||
db.rollback()
|
||||
return self.error(400,'BAD REQUEST','Invalid Query:'+e)
|
||||
|
||||
|
||||
Reference in new issue
Block a user