From 885436378563e46679f9598f97682efb35f6d065 Mon Sep 17 00:00:00 2001 From: James Vega Date: Thu, 20 Nov 2003 17:34:58 +0000 Subject: [PATCH] Cleaned up the generated source some --- tools/generate-plugin-documentation.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/generate-plugin-documentation.py b/tools/generate-plugin-documentation.py index 87d66ba89..5938a674f 100755 --- a/tools/generate-plugin-documentation.py +++ b/tools/generate-plugin-documentation.py @@ -182,9 +182,9 @@ def makePluginDocumentation(pluginWindow): morehelp = cgi.escape(morehelp) trClass = trClasses[trClass] fd.write(textwrap.dedent(''' - %s%s + %s%s %s - ''' % (trClass, attr, attr, attr, help, morehelp))) + ''' % (trClass, attr, attr, help, morehelp))) fd.write('\n') fd.write(textwrap.dedent(''' @@ -226,7 +226,7 @@ def makeCommandsIndex(): commands.sort() for i in ascii_lowercase: if i in firstChars: - fd.write('%s ' % (i, i.capitalize())) + fd.write('%s \n' % (i, i.capitalize())) else: fd.write('%s ' % i.capitalize()) firstChars.clear() @@ -236,16 +236,16 @@ def makeCommandsIndex(): c = command[0] if c not in firstChars: if firstChars: - fd.write('\n
') + fd.write('
\n') fd.write('\n
') firstChars[c] = '' - fd.write('
%s
\n' % - (c, c, c.capitalize())) + fd.write('
%s
\n' % + (c, c.capitalize())) plugins = commandDict[command] plugins.sort() fd.write('%s (%s)
\n' % (command, - ', '.join([pluginLink % (p,command,p) for p in plugins]))) + ', \n\t'.join([pluginLink % (p,command,p) for p in plugins]))) fd.write('\n
') fd.write(textwrap.dedent(genFooter())) fd.close()