* src/ReportOptions.py: fix inheritence

svn: r5468
This commit is contained in:
Don Allingham 2005-12-03 04:44:42 +00:00
parent ef290c3fdc
commit 578e659578
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2005-12-02 Don Allingham <don@gramps-project.org>
* src/ReportOptions.py: fix inheritence
2005-12-01 Don Allingham <don@gramps-project.org> 2005-12-01 Don Allingham <don@gramps-project.org>
* various: pychecker fixes * various: pychecker fixes
* src/DateParser.py: properly call the date checking routine * src/DateParser.py: properly call the date checking routine

View File

@ -495,7 +495,13 @@ class ReportOptions(Options.Options):
Initializes the class, performing usual house-keeping tasks. Initializes the class, performing usual house-keeping tasks.
Subclasses MUST call this in their __init__() method. Subclasses MUST call this in their __init__() method.
""" """
Options.Options.__init__(self,name,person_id)
self.set_new_options()
self.enable_options()
if self.enable_dict:
self.options_dict.update(self.enable_dict)
self.handler = OptionHandler(name,self.options_dict,person_id)
def make_default_style(self,default_style): def make_default_style(self,default_style):
""" """