consolidate a few license code function calls

This commit is contained in:
Ryan Petrello
2020-10-30 16:40:00 -04:00
parent be4e4ff47c
commit 1294efdeb9
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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():