Skip to content

Commit

Permalink
Rename variables
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Soranzo <[email protected]>
  • Loading branch information
bernt-matthias and nsoranzo authored Jan 9, 2024
1 parent c3e93ce commit 0f19774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/tool_util/deps/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ def __init__(
if identifier:
parts = identifier.rsplit(os.sep, 1)
if ":" in parts[-1]:
id, tag = parts[-1].rsplit(":")
parts[-1] = f"{id.lower()}:{tag}"
name, tag = parts[-1].rsplit(":", 1)
parts[-1] = f"{name.lower()}:{tag}"
else:
parts[-1] = parts[-1].lower()

Expand Down

0 comments on commit 0f19774

Please sign in to comment.