File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 99pyroma = pytest .importorskip ("pyroma" , reason = "Pyroma not installed" )
1010
1111
12- def map_metadata_keys (metadata ):
12+ def map_metadata_keys (md ):
1313 # Convert installed wheel metadata into canonical Core Metadata 2.4 format.
1414 # This was a utility method in pyroma 4.3.3; it was removed in 5.0.
1515 # This implementation is constructed from the relevant logic from
1616 # Pyroma 5.0's `build_metadata()` implementation. This has been submitted
1717 # upstream to Pyroma as https://github.com/regebro/pyroma/pull/116,
1818 # so it may be possible to simplify this test in future.
1919 data = {}
20- for key in set (metadata .keys ()):
21- value = metadata .get_all (key )
20+ for key in set (md .keys ()):
21+ value = md .get_all (key )
2222 key = pyroma .projectdata .normalize (key )
2323
2424 if len (value ) == 1 :
You can’t perform that action at this time.
0 commit comments