Revert change 21304 for moving report_options file
svn: r21322
This commit is contained in:
parent
2361294b5e
commit
56078f14b8
@ -571,14 +571,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 = const.REPORT_OPTIONS
|
||||
|
||||
def init_common(self):
|
||||
"""
|
||||
@ -743,12 +742,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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user