Skip to content

Commit

Permalink
Remove/avoid redundant function calls
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Bargull <[email protected]>
  • Loading branch information
mbargull committed Mar 21, 2024
1 parent 7f01076 commit 7a6ec16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conda_build/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,8 +888,8 @@ def get_output_dicts_from_metadata(metadata, outputs=None):
outputs.append(OrderedDict(name=metadata.name()))
for out in outputs:
if (
"package:" in metadata.get_recipe_text()
and out.get("name") == metadata.name()
out.get("name") == metadata.name()
and "package:" in metadata.get_recipe_text()
):
combine_top_level_metadata_with_output(metadata, out)
return outputs
Expand Down

0 comments on commit 7a6ec16

Please sign in to comment.