mirror of
https://github.com/ansible/awx.git
synced 2026-06-24 08:07:47 -02:30
fix linting (#14302)
This commit is contained in:
@@ -368,7 +368,7 @@ class BaseAccess(object):
|
||||
report_violation = lambda message: logger.warning(message)
|
||||
if validation_info.get('trial', False) is True or validation_info['instance_count'] == 10: # basic 10 license
|
||||
|
||||
def report_violation(message):
|
||||
def report_violation(message): # noqa
|
||||
raise PermissionDenied(message)
|
||||
|
||||
if check_expiration and validation_info.get('time_remaining', None) is None:
|
||||
|
||||
Reference in New Issue
Block a user