mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-15 15:58:38 -05:00
Converted except T,e expressions to except T as e
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user