mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
properly detect the absence of credential_type in older tower-cli (#36908)
This commit is contained in:
parent
ac11027d58
commit
a82043939b
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ def main():
|
|||
|
||||
try:
|
||||
tower_cli.get_resource('credential_type')
|
||||
except (AttributeError):
|
||||
except (ImportError, AttributeError):
|
||||
# /api/v1/ backwards compat
|
||||
# older versions of tower-cli don't *have* a credential_type
|
||||
# resource
|
||||
|
|
Loading…
Reference in a new issue