コード例 #1
0
 def setupPushjetNotifier(self, secret="1234", **kwargs):
     pn = PushjetNotifier(secret, **kwargs)
     yield pn.setServiceParent(self.master)
     yield pn.startService()
     defer.returnValue(pn)
コード例 #2
0
 def setupPushjetNotifier(self, secret=Interpolate("1234"), **kwargs):
     pn = PushjetNotifier(secret, **kwargs)
     yield pn.setServiceParent(self.master)
     yield pn.startService()
     return pn
コード例 #3
0
 def setupPushjetNotifier(self, secret=Interpolate("1234"), **kwargs):
     pn = PushjetNotifier(secret, **kwargs)
     yield pn.setServiceParent(self.master)
     yield pn.startService()
     return pn
コード例 #4
0
 def setupPushjetNotifier(self, secret="1234", **kwargs):
     pn = PushjetNotifier(secret, **kwargs)
     yield pn.setServiceParent(self.master)
     yield pn.startService()
     defer.returnValue(pn)