def reload_all(): print '>> Bootstrapping...' global cfgsets, sugg, ds, mega_parall, wrp, apiresp, auth cfgsets = config_settings.CfgSettings() cfgsets.cgen['large_server'] = LARGESERVER sugg = SuggestionResponses(cfgsets.cfg, cfgsets.cgen) ds = DeepsearchModule.DeepSearch(cfgsets.cfg_deep, cfgsets.cgen) mega_parall = megasearch.DoParallelSearch(cfgsets.cfg, cfgsets.cgen, ds) wrp = Warper(cfgsets.cgen, cfgsets.cfg, ds) apiresp = ApiResponses(cfgsets.cfg, wrp) auth = miscdefs.Auth(cfgsets)
def reload_all(): print '>> Bootstrapping...' global cfgsets, sugg, ds, mega_parall, wrp, apiresp, auth, getsmartinfo, testserver cfgsets = config_settings.CfgSettings() cfgsets.cgen['large_server'] = LARGESERVER sugg = SuggestionResponses(cfgsets.cfg, cfgsets.cgen) ds = DeepsearchModule.DeepSearch(cfgsets.cfg_deep, cfgsets.cgen) wrp = Warper (cfgsets.cgen, cfgsets.cfg, ds) mega_parall = megasearch.DoParallelSearch(cfgsets.cfg, cfgsets.cgen, ds, wrp) apiresp = ApiResponses(cfgsets.cfg, cfgsets.cgen, wrp, ds) getsmartinfo = nzbsanity.GetNZBInfo(cfgsets.cfg, cfgsets.cgen, ds, app) auth = miscdefs.Auth(cfgsets) testserver = miscdefs.ChkServer(cfgsets.cgen)