* src/Report.py: change finish_report to end_report
* src/DateHandler.py: remove debugging statement svn: r3845
This commit is contained in:
parent
346a5bfe7c
commit
5b9f4d0427
@ -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()
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user