mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Fixing linting issues
This commit is contained in:
@@ -97,9 +97,9 @@ from ..module_utils.tower_awxkit import TowerAWXKitModule
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
from awxkit.api.pages.api import EXPORTABLE_RESOURCES
|
from awxkit.api.pages.api import EXPORTABLE_RESOURCES
|
||||||
HAS_EXPORTABLE_RESOURCES=True
|
HAS_EXPORTABLE_RESOURCES = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
HAS_EXPORTABLE_RESOURCES=False
|
HAS_EXPORTABLE_RESOURCES = False
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|||||||
@@ -58,9 +58,9 @@ import logging
|
|||||||
# In this module we don't use EXPORTABLE_RESOURCES, we just want to validate that our installed awxkit has import/export
|
# In this module we don't use EXPORTABLE_RESOURCES, we just want to validate that our installed awxkit has import/export
|
||||||
try:
|
try:
|
||||||
from awxkit.api.pages.api import EXPORTABLE_RESOURCES
|
from awxkit.api.pages.api import EXPORTABLE_RESOURCES
|
||||||
HAS_EXPORTABLE_RESOURCES=True
|
HAS_EXPORTABLE_RESOURCES = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
HAS_EXPORTABLE_RESOURCES=False
|
HAS_EXPORTABLE_RESOURCES = False
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
argument_spec = dict(
|
argument_spec = dict(
|
||||||
|
|||||||
Reference in New Issue
Block a user