remove string module

svn: r1778
This commit is contained in:
Don Allingham 2003-06-25 03:40:13 +00:00
parent d1f1f49c5c
commit 477462b908

View File

@ -30,7 +30,6 @@ __version__ = "$Revision$"
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import os import os
import string
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -664,7 +663,7 @@ class BareReportDialog:
if self.extra_textbox: if self.extra_textbox:
b = self.extra_textbox.get_buffer() b = self.extra_textbox.get_buffer()
text_val = b.get_text(b.get_start_iter(),b.get_end_iter(),gtk.FALSE) 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: else:
self.report_text = "" self.report_text = ""
@ -1310,7 +1309,7 @@ class TemplateParser(handler.ContentHandler):
try: try:
parser = make_parser() parser = make_parser()
apath = const.template_dir spath = const.template_dir
parser.setContentHandler(TemplateParser(_template_map,spath)) parser.setContentHandler(TemplateParser(_template_map,spath))
parser.parse("file://%s/templates.xml" % spath) parser.parse("file://%s/templates.xml" % spath)
parser = make_parser() parser = make_parser()