Refactoring the report system: reports no longer require dbstate.
svn: r9924
This commit is contained in:
@@ -48,7 +48,8 @@ class CommandLineReport:
|
||||
noopt=False):
|
||||
self.database = database
|
||||
self.category = category
|
||||
self.option_class = option_class(name)
|
||||
self.option_class = option_class(name, database)
|
||||
self.option_class.load_previous_values()
|
||||
self.show = options_str_dict.pop('show',None)
|
||||
self.options_str_dict = options_str_dict
|
||||
self.init_options(noopt)
|
||||
|
||||
Reference in New Issue
Block a user