Skip to content

Commit bc1ca67

Browse files
committed
#349 - fix test code
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent ec02aad commit bc1ca67

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/attributecode/util.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,10 @@ def get_mapping_key_order(mapping_file):
420420
mapping = get_mapping(mapping_file)
421421
else:
422422
mapping = get_mapping()
423-
return mapping.keys()
423+
key_order = []
424+
for key in mapping:
425+
key_order.append(key)
426+
return key_order
424427

425428
def format_output(about_data, use_mapping, mapping_file):
426429
"""

0 commit comments

Comments
 (0)