def setupPushjetNotifier(self, secret="1234", **kwargs): pn = PushjetNotifier(secret, **kwargs) yield pn.setServiceParent(self.master) yield pn.startService() defer.returnValue(pn)
def setupPushjetNotifier(self, secret=Interpolate("1234"), **kwargs): pn = PushjetNotifier(secret, **kwargs) yield pn.setServiceParent(self.master) yield pn.startService() return pn