Skip to content

Commit 59bebc5

Browse files
committed
fix: key
1 parent f06e616 commit 59bebc5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/sphinxext/related_software.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def _get_mapping(packages):
138138
rev_mapping[cat] = tuple([pkg for pkg, cats in mapping.items() if cat in cats])
139139
# extra packages: not in the two text files
140140
extras = tuple(set(packages) - set(mapping))
141-
rev_mapping["Other"] = tuple(sorted(rev_mapping["Other"] + extras))
141+
rev_mapping["Other"] = tuple(sorted(rev_mapping.get("Other", ()) + extras))
142142
return rev_mapping
143143

144144

0 commit comments

Comments
 (0)