def __init__(self, app, config=None): """ Configuration arguments are documented in README.rst """ self.app = app self.config = config if not self.config: self.config = get_moksha_appconfig() # Initialize fedmsg its own config in /etc/fedmsg.d/ self.fedmsg_config = fedmsg.config.load_config(None, []) t.make_processors(**self.fedmsg_config)