Skip to content

Commit

Permalink
Update src/commcare_cloud/commands/deploy/commcare.py
Browse files Browse the repository at this point in the history
  • Loading branch information
orangejenny authored Nov 4, 2024
1 parent 0bba74e commit 6f6d141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commcare_cloud/commands/deploy/commcare.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def get_deployed_version(environment, from_source=False):
if not versions:
raise BadAnsibleResult("Unable to get version from hosts: no versions found. Try again soon.")
if len(versions) > 1:
raise BadAnsibleResult(f"Unable to get version from hosts: {len(versions)} versions found. Try again soon.")
raise BadAnsibleResult(f"Unable to get version from hosts: multiple versions found. Try again soon.")

Check failure on line 254 in src/commcare_cloud/commands/deploy/commcare.py

View workflow job for this annotation

GitHub Actions / Flake8

src/commcare_cloud/commands/deploy/commcare.py#L254

F-string is missing placeholders (F541)
return list(versions)[0]


Expand Down

0 comments on commit 6f6d141

Please sign in to comment.