do_reg_plugins() requires at least a dbstate

svn: r18270
This commit is contained in:
Doug Blank 2011-10-10 00:40:22 +00:00
parent 1e4baf393b
commit c9130274d8

View File

@ -604,7 +604,7 @@ def run_report(db, name, **options_str_dict):
""" """
dbstate = DbState.DbState() dbstate = DbState.DbState()
climanager = CLIManager(dbstate, False) # don't load db climanager = CLIManager(dbstate, False) # don't load db
climanager.do_reg_plugins() climanager.do_reg_plugins(dbstate, None)
pmgr = BasePluginManager.get_instance() pmgr = BasePluginManager.get_instance()
cl_list = pmgr.get_reg_reports() cl_list = pmgr.get_reg_reports()
clr = None clr = None