Converted except T,e expressions to except T as e

This commit is contained in:
Akita Noek
2016-06-27 13:14:36 -04:00
parent 7839db0c23
commit b57739a800
14 changed files with 37 additions and 37 deletions

View File

@@ -127,7 +127,7 @@ except IOError:
try:
e = None
open(settings_file)
except IOError, e:
except IOError as e:
pass
if e and e.errno == errno.EACCES:
SECRET_KEY = 'permission-denied'