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 9
9
pyroma = pytest .importorskip ("pyroma" , reason = "Pyroma not installed" )
10
10
11
11
12
- def map_metadata_keys (metadata ):
12
+ def map_metadata_keys (md ):
13
13
# Convert installed wheel metadata into canonical Core Metadata 2.4 format.
14
14
# This was a utility method in pyroma 4.3.3; it was removed in 5.0.
15
15
# This implementation is constructed from the relevant logic from
16
16
# Pyroma 5.0's `build_metadata()` implementation. This has been submitted
17
17
# upstream to Pyroma as https://github.com/regebro/pyroma/pull/116,
18
18
# so it may be possible to simplify this test in future.
19
19
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 )
22
22
key = pyroma .projectdata .normalize (key )
23
23
24
24
if len (value ) == 1 :
You can’t perform that action at this time.
0 commit comments