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 9e48884a5b
commit d48148ed65

View File

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