Skip to content

Commit

Permalink
Add comment about _get_or_merge_config's purpose
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Bargull <[email protected]>
  • Loading branch information
mbargull committed Nov 17, 2023
1 parent adabc08 commit d7e6aec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conda_build/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,8 @@ def __exit__(self, e_type, e_value, traceback):


def _get_or_merge_config(config, variant=None, **kwargs):
# This function should only ever be called via get_or_merge_config.
# It only exists for us to monkeypatch a default config when running tests.
if not config:
config = Config(variant=variant)
else:
Expand Down

0 comments on commit d7e6aec

Please sign in to comment.