def setupPushoverNotifier(self, user_key="1234", api_token=Interpolate("abcd"), **kwargs): pn = PushoverNotifier(user_key, api_token, **kwargs) yield pn.setServiceParent(self.master) yield pn.startService() return pn
def setupPushoverNotifier(self, user_key="1234", api_token="abcd", **kwargs): pn = PushoverNotifier(user_key, api_token, **kwargs) yield pn.setServiceParent(self.master) yield pn.startService() defer.returnValue(pn)