Slight efficiency/readability fix.

This commit is contained in:
Jeremy Fincher 2003-11-20 01:05:07 +00:00
parent 0f19c104a8
commit de81be01ff

View File

@ -243,7 +243,8 @@ if __name__ == '__main__':
prepIndex() prepIndex()
plugins = [p for p in genPlugins()] plugins = [p for p in genPlugins()]
plugins.sort() plugins.sort()
plugins = [(None,)] + plugins + [(None,)] plugins.insert(0, None)
plugins.append(None)
for pluginWindow in window(plugins, 3): for pluginWindow in window(plugins, 3):
makePluginDocumentation(pluginWindow) makePluginDocumentation(pluginWindow)
finishIndex() finishIndex()