def main(): """ In seperate method so it can be called from other modules. """ args = parse_args() applyArgs(args) connections.init() aggregation.stats_init() reactor.run()
def main(): """ In seperate method so it can be called from other modules. """ args = parse_args() applyArgs(args) connections.init() aggregation.stats_init() if not args.timberoff: timber.timberRun() logger.loggerInit() if not args.hissoff: gossip.gossipRun() if args.timberoff and args.hissoff: debug("Nothing to run") else: reactor.run()