Revert change 21304 for moving report_options file

svn: r21324
This commit is contained in:
Tim G L Lyons 2013-02-08 17:11:14 +00:00
parent b98ea511cc
commit f48ca367b9

View File

@ -601,14 +601,13 @@ class OptionHandler(_options.OptionHandler):
""" """
Implements handling of the options for the plugins. Implements handling of the options for the plugins.
""" """
def __init__(self, module_name, options_dict, filename): def __init__(self, module_name, options_dict):
self.default_filename = filename
_options.OptionHandler.__init__(self, module_name, options_dict, None) _options.OptionHandler.__init__(self, module_name, options_dict, None)
def init_subclass(self): def init_subclass(self):
self.collection_class = OptionListCollection self.collection_class = OptionListCollection
self.list_class = OptionList self.list_class = OptionList
self.filename = self.default_filename self.filename = REPORT_OPTIONS
def init_common(self): def init_common(self):
""" """
@ -778,12 +777,9 @@ class ReportOptions(_options.Options):
self.options_dict = {} self.options_dict = {}
self.options_help = {} self.options_help = {}
self.handler = None self.handler = None
self.default_report_options_file = os.path.join(dbase.full_name,
"report_options.xml")
def load_previous_values(self): def load_previous_values(self):
self.handler = OptionHandler(self.name, self.options_dict, self.handler = OptionHandler(self.name, self.options_dict)
self.default_report_options_file)
def make_default_style(self, default_style): def make_default_style(self, default_style):
""" """