Refactoring the report system: reports no longer require dbstate.
svn: r9924
This commit is contained in:
ChangeLog
src
PluginUtils
ReportBase
plugins
AncestorChart.pyAncestorReport.pyBookReport.pyCalculateEstimatedDates.pyCalendar.pyCustomBookText.pyDescendChart.pyDescendReport.pyDetAncestralReport.pyDetDescendantReport.pyEndOfLineReport.pyFamilyGroup.pyFanChart.pyGVFamilyLines.pyGVHourGlass.pyGVRelGraph.pyIndivComplete.pyKinshipReport.pyMarkerReport.pyStatisticsChart.pyTimeLine.py
@@ -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