Skip to content

Commit

Permalink
mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
hulkoba committed Jun 5, 2024
1 parent 1f29ea1 commit c3a55b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conda_smithy/configure_feedstock.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,8 @@ def finalize_config(config, platform, arch, forge_config):
# )

def yaml_represent_ordered_dict(dumper, data):
return dumper.represent_dict(list(data.items()))
return dumper.represent_mapping('tag:yaml.org,2002:map', data.items())
# return dumper.represent_dict(list(data.items()))


# represent_dict processes dict-likes with a .sort() method or plain iterables of key-value
Expand Down

0 comments on commit c3a55b7

Please sign in to comment.