From: Oleg Broytman Date: Mon, 15 Sep 2003 20:12:00 +0000 (+0000) Subject: Removed module string. X-Git-Tag: v4.5.3~359 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=22393278e81f406ecf1fe2e4e11e564670c08200;p=bookmarks_db.git Removed module string. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@17 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/Writers/bkmk_whtml.py b/Writers/bkmk_whtml.py index 921dff9..54f5c93 100644 --- a/Writers/bkmk_whtml.py +++ b/Writers/bkmk_whtml.py @@ -5,11 +5,8 @@ """ -import string - - def dump_comment(comment): - return string.replace(comment, "
", "
\n") + return comment.replace("
", "
\n") ind_s = " "*4 @@ -24,8 +21,8 @@ class writer_html(Writer): self.outfile.write(ind_s*level + "

\n") def root_folder(self, f): - header = string.replace(f.header, ".", ".\n") - header = string.replace(header, "\n") self.outfile.write(header + "\n") self.outfile.write('

%s

\n\n' % f.name)