mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 05:17:36 -02:30
flake8: comply with new E722 rule
This commit is contained in:
committed by
Ryan Petrello
parent
7538b4ce15
commit
67867cf0c8
@@ -105,7 +105,7 @@ def _load_default_license_from_file():
|
||||
license_data = json.load(open(license_file))
|
||||
logger.debug('Read license data from "%s".', license_file)
|
||||
return license_data
|
||||
except:
|
||||
except Exception:
|
||||
logger.warning('Could not read license from "%s".', license_file, exc_info=True)
|
||||
return {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user