forked from orbit-oss/flask
automated change using python-modernize: use 'as' in except
This commit is contained in:
parent
521398d5e7
commit
6caaa8a527
12 changed files with 32 additions and 32 deletions
|
|
@ -220,5 +220,5 @@ def main():
|
|||
"""Runs the testsuite as command line application."""
|
||||
try:
|
||||
unittest.main(testLoader=BetterLoader(), defaultTest='suite')
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
print 'Error: %s' % e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue