do_reg_plugins() requires at least a dbstate
svn: r18270
This commit is contained in:
parent
1e4baf393b
commit
c9130274d8
@ -604,7 +604,7 @@ def run_report(db, name, **options_str_dict):
|
||||
"""
|
||||
dbstate = DbState.DbState()
|
||||
climanager = CLIManager(dbstate, False) # don't load db
|
||||
climanager.do_reg_plugins()
|
||||
climanager.do_reg_plugins(dbstate, None)
|
||||
pmgr = BasePluginManager.get_instance()
|
||||
cl_list = pmgr.get_reg_reports()
|
||||
clr = None
|
||||
|
Loading…
Reference in New Issue
Block a user