From 96111e686af722fed7cfe24d2c52aa5f14146ecb Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 25 Jun 2003 03:40:13 +0000 Subject: [PATCH] remove string module svn: r1778 --- src/Report.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Report.py b/src/Report.py index f1a93837c..10b145506 100644 --- a/src/Report.py +++ b/src/Report.py @@ -30,7 +30,6 @@ __version__ = "$Revision$" # #------------------------------------------------------------------------- import os -import string #------------------------------------------------------------------------- # @@ -664,7 +663,7 @@ class BareReportDialog: if self.extra_textbox: b = self.extra_textbox.get_buffer() text_val = b.get_text(b.get_start_iter(),b.get_end_iter(),gtk.FALSE) - self.report_text = string.split(text_val,'\n') + self.report_text = text_val.split('\n') else: self.report_text = "" @@ -1310,7 +1309,7 @@ class TemplateParser(handler.ContentHandler): try: parser = make_parser() - apath = const.template_dir + spath = const.template_dir parser.setContentHandler(TemplateParser(_template_map,spath)) parser.parse("file://%s/templates.xml" % spath) parser = make_parser()