mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
consolidate a few license code function calls
This commit is contained in:
@@ -5,8 +5,8 @@ __all__ = ['get_license']
|
||||
|
||||
|
||||
def _get_validated_license_data():
|
||||
from awx.main.utils.licensing import Licenser
|
||||
return Licenser().validate()
|
||||
from awx.main.utils import get_licenser
|
||||
return get_licenser().validate()
|
||||
|
||||
|
||||
def get_license():
|
||||
|
||||
Reference in New Issue
Block a user