* src/Report.py: change finish_report to end_report

* src/DateHandler.py: remove debugging statement


svn: r3845
This commit is contained in:
Don Allingham 2004-12-31 03:17:58 +00:00
parent 346a5bfe7c
commit 5b9f4d0427
2 changed files with 3 additions and 4 deletions

View File

@ -120,8 +120,6 @@ load_plugins(datesDir)
try:
parser = _lang_to_parser[_lang]()
except:
import traceback
traceback.print_stack()
print "Date parser for",_lang,"not available, using default"
parser = DateParser.DateParser()

View File

@ -211,7 +211,8 @@ class Report:
creator = database.get_researcher().get_name()
self.doc.creator(creator)
if options_class.get_output():
output = options_class.get_output()
if output:
self.standalone = True
self.doc.open(options_class.get_output())
self.doc.init()
@ -225,7 +226,7 @@ class Report:
def write_report(self):
pass
def finish_report(self):
def end_report(self):
if self.standalone:
self.doc.close()