diff options
Diffstat (limited to 'Doc/tools/mkackshtml')
-rwxr-xr-x | Doc/tools/mkackshtml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/tools/mkackshtml b/Doc/tools/mkackshtml index b5fe7ba..ac126e0 100755 --- a/Doc/tools/mkackshtml +++ b/Doc/tools/mkackshtml @@ -1,7 +1,6 @@ #! /usr/bin/env python # -*- Python -*- -import string import support import sys @@ -12,7 +11,7 @@ def collect(fp): line = fp.readline() if not line: break - line = string.strip(line) + line = line.strip() if line: names.append(line) else: @@ -32,7 +31,7 @@ def main(): colnums.append(percol*i) options.aesop_type = "information" fp = options.get_output_file() - fp.write(string.rstrip(options.get_header()) + "\n") + fp.write(options.get_header().rstrip() + "\n") fp.write(THANKS + "\n") fp.write('<table width="100%" align="center">\n') for i in range(percol): @@ -44,7 +43,7 @@ def main(): pass fp.write(" </tr>\n") fp.write("</table>\n") - fp.write(string.rstrip(options.get_footer()) + "\n") + fp.write(options.get_footer().rstrip() + "\n") fp.close() THANKS = '''\ |