CLI run_report: use User()

svn: r23340
This commit is contained in:
Doug Blank 2013-10-19 13:08:56 +00:00
parent f74d1e51a1
commit 8667fbc971

View File

@ -691,7 +691,7 @@ def run_report(db, name, **options_str_dict):
filename in clr.option_class.get_output() filename in clr.option_class.get_output()
""" """
dbstate = DbState() dbstate = DbState()
climanager = CLIManager(dbstate, False) # don't load db climanager = CLIManager(dbstate, setloader=False, user=User()) # don't load db
climanager.do_reg_plugins(dbstate, None) 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()