"""
-import string
-
-
def dump_comment(comment):
- return string.replace(comment, "<BR>", "<BR>\n")
+ return comment.replace("<BR>", "<BR>\n")
ind_s = " "*4
self.outfile.write(ind_s*level + "<DL><p>\n")
def root_folder(self, f):
- header = string.replace(f.header, ".", ".\n")
- header = string.replace(header, "<T", "\n<T", 3)
+ header = f.header.replace(".", ".\n")
+ header = header.replace("<T", "\n<T", 3)
self.outfile.write("<!DOCTYPE NETSCAPE-Bookmark-file-1>\n")
self.outfile.write(header + "\n")
self.outfile.write('<H1>%s</H1>\n\n' % f.name)