Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Aug 30, 2024
1 parent 21341e1 commit 0da453c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugins/lookup/ssm_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,8 @@ def run(self, terms, variables, **kwargs):
f'"on_denied" must be a string and one of "error", "warn" or "skip", not {on_denied}'
)

if self.get_option("shortnames") and self.get_option("droppath"):
raise AnsibleLookupError(
"shortnames and droppath are mutually exclusive. They cannot both be set to true."
)
if self.get_option("shortnames") and self.get_option("droppath"):
raise AnsibleLookupError("shortnames and droppath are mutually exclusive. They cannot both be set to true.")

ret = []
ssm_dict = {}
Expand Down

0 comments on commit 0da453c

Please sign in to comment.