mirror of
https://github.com/ansible/awx.git
synced 2026-03-16 00:17:29 -02:30
Assorted renaming and string changes
This commit is contained in:
@@ -81,7 +81,7 @@ class ApiV2(base.Base):
|
||||
# Export methods
|
||||
|
||||
def _export(self, _page, post_fields):
|
||||
# Drop any (credential_type) assets that are being managed by the Tower instance.
|
||||
# Drop any (credential_type) assets that are being managed by the instance.
|
||||
if _page.json.get('managed_by_tower'):
|
||||
log.debug("%s is managed by Tower, skipping.", _page.endpoint)
|
||||
return None
|
||||
|
||||
@@ -45,7 +45,7 @@ def render():
|
||||
# Sphinx document from.
|
||||
for e in ('TOWER_HOST', 'TOWER_USERNAME', 'TOWER_PASSWORD'):
|
||||
if not os.environ.get(e):
|
||||
raise SystemExit('Please specify a valid {} for a real (running) Tower install.'.format(e)) # noqa
|
||||
raise SystemExit('Please specify a valid {} for a real (running) installation.'.format(e)) # noqa
|
||||
cli = CLI()
|
||||
cli.parse_args(['awx', '--help'])
|
||||
cli.connect()
|
||||
|
||||
Reference in New Issue
Block a user