mirror of
https://github.com/ansible/awx.git
synced 2026-05-01 06:35:26 -02:30
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