Refactoring the report system: reports no longer require dbstate.

svn: r9924
This commit is contained in:
Brian Matherly
2008-01-24 12:50:33 +00:00
parent c43c200c5d
commit 77af7ed092
25 changed files with 126 additions and 104 deletions

View File

@ -318,12 +318,12 @@ class FanChart(Report):
#------------------------------------------------------------------------
class FanChartOptions(MenuReportOptions):
def __init__(self,name,dbstate=None):
def __init__(self, name, dbase):
self.MAX_GENERATIONS = 8
MenuReportOptions.__init__(self,name,dbstate)
MenuReportOptions.__init__(self, name, dbase)
def add_menu_options(self,menu,dbstate):
def add_menu_options(self, menu):
"""
Add options to the menu for the fan chart.
"""