Modify message functions to accept conf instead of backend

This commit is contained in:
Matt Prahl
2016-09-20 08:49:14 -04:00
committed by Nils Philippsen
parent a3ecd4180d
commit d37659afd8
3 changed files with 22 additions and 14 deletions

View File

@@ -149,7 +149,7 @@ class ModuleBuild(RidaBase):
modname='rida',
topic='module.state.change',
msg=module.json(), # Note the state is "init" here...
backend=conf.messaging,
conf=conf,
)
return module
@@ -168,7 +168,7 @@ class ModuleBuild(RidaBase):
modname='rida',
topic='module.state.change',
msg=self.json(), # Note the state is "init" here...
backend=conf.messaging,
conf=conf,
)
@classmethod