From 22393278e81f406ecf1fe2e4e11e564670c08200 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 15 Sep 2003 20:12:00 +0000 Subject: [PATCH] Removed module string. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@17 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Writers/bkmk_whtml.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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) -- 2.39.5