File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,8 +144,6 @@ def _get_mapping(packages):
144144 mapping [pkg ] = tuple ([x .strip () for x in categories .split ("," )])
145145 # unpack the tuples to make a single sequence of (unique) categories
146146 categories = sorted (set ([cat for cats in mapping .values () for cat in cats ]))
147- # Use real categaroy name instead of short names
148- categories = [cat_names [cat_shortName ] for cat_shortName in categories ]
149147 # put "other" last
150148 if "Other" in categories :
151149 categories .remove ("Other" )
@@ -260,7 +258,8 @@ def run(self):
260258 # iterate over category, packages
261259 for category , packages in cat_to_pkgs .items ():
262260 title = nodes .paragraph ()
263- title += nodes .strong (text = category )
261+ # Use real category name instead of short names
262+ title += nodes .strong (text = cat_names [category ])
264263 my_section .append (title )
265264 this_list = nodes .bullet_list (bullet = "*" )
266265
You can’t perform that action at this time.
0 commit comments