Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Jan 8, 2025
1 parent ea92527 commit ad48fe6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rattler_build_conda_compat/recipe_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ def render(template: str | list[str], context: dict[str, str]) -> str | list[str
elem_dict = typing.cast(dict[str, Any], elem)
sha256, md5 = None, None
if elem_dict.get("sha256") is not None:
sha256 = typing.cast(str, render(str(elem_dict["sha256"]), context_variables))
sha256 = typing.cast(
str, render(str(elem_dict["sha256"]), context_variables)
)
if elem_dict.get("md5") is not None:
md5 = typing.cast(str, render(str(elem_dict["md5"]), context_variables))
if "url" in elem_dict:
Expand Down

0 comments on commit ad48fe6

Please sign in to comment.