@@ -293,9 +293,7 @@ def _genItemsFromDict(dict, cat, output, target, do_children=1):
293
293
<param name="ImageNumber" value="1">
294
294
<param name="Local" value="{CHM}{context}">
295
295
</OBJECT>
296
- """ .format (
297
- ** locals ()
298
- )
296
+ """ .format (** locals ())
299
297
)
300
298
if not do_children :
301
299
continue
@@ -339,9 +337,7 @@ def genTOC(cats, output, title, target):
339
337
<param name="Local" value="{CHM}{target}.html">
340
338
</OBJECT>
341
339
<UL>
342
- """ .format (
343
- ** locals ()
344
- )
340
+ """ .format (** locals ())
345
341
)
346
342
347
343
for cat in cats :
@@ -355,9 +351,7 @@ def genTOC(cats, output, title, target):
355
351
<param name="Local" value="{CHM}{cat_id}.html">
356
352
</OBJECT>
357
353
<UL>
358
- """ .format (
359
- ** locals ()
360
- )
354
+ """ .format (** locals ())
361
355
)
362
356
# Next write the overviews for this category
363
357
output .write (
@@ -368,9 +362,7 @@ def genTOC(cats, output, title, target):
368
362
<param name="Local" value="{CHM}{cat_id}_overview.html">
369
363
</OBJECT>
370
364
<UL>
371
- """ .format (
372
- ** locals ()
373
- )
365
+ """ .format (** locals ())
374
366
)
375
367
_genItemsFromDict (cat .overviewTopics , cat , output , target )
376
368
_genItemsFromDict (cat .extOverviewTopics , cat , output , target )
@@ -387,9 +379,7 @@ def genTOC(cats, output, title, target):
387
379
<param name="Local" value="{CHM}{cat_id}_modules.html">
388
380
</OBJECT>
389
381
<UL>
390
- """ .format (
391
- ** locals ()
392
- )
382
+ """ .format (** locals ())
393
383
)
394
384
_genItemsFromDict (cat .modules , cat , output , target )
395
385
output .write (
@@ -404,9 +394,7 @@ def genTOC(cats, output, title, target):
404
394
<param name="ImageNumber" value="1">
405
395
<param name="Local" value="{CHM}{cat_id}_objects.html">
406
396
</OBJECT>
407
- <UL>""" .format (
408
- ** locals ()
409
- )
397
+ <UL>""" .format (** locals ())
410
398
)
411
399
# Don't show 'children' for objects - params etc don't need their own child nodes!
412
400
_genItemsFromDict (cat .objects , cat , output , target , do_children = 0 )
@@ -423,9 +411,7 @@ def genTOC(cats, output, title, target):
423
411
<param name="Local" value="{CHM}{cat_id}_constants.html">
424
412
</OBJECT>
425
413
<UL>
426
- """ .format (
427
- ** locals ()
428
- )
414
+ """ .format (** locals ())
429
415
)
430
416
_genItemsFromDict (cat .constants , cat , output , target )
431
417
output .write (
0 commit comments