Skip to content

Commit

Permalink
Fix UnboundLocalError added in #27
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Nov 6, 2023
1 parent 90fb908 commit c94d30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metapkg/commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def handle(self) -> int:
)
target.prepare()

tags = {}
if tags_string:
tags = {}
for pair in tags_string.split(","):
k, _, v = pair.strip().partition("=")
tags[k.strip()] = v.strip()
Expand Down

0 comments on commit c94d30a

Please sign in to comment.