From 32af40e098704ab58f8d4f95ec31410522022cb2 Mon Sep 17 00:00:00 2001 From: Goffi Date: Sat, 1 Dec 2018 10:42:25 +0100 Subject: [PATCH] jp (base): new own_jid host attribute: this attribute is None by default and must be filled at runtime if needed by a command. --- sat_frontends/jp/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sat_frontends/jp/base.py b/sat_frontends/jp/base.py index d0e74127..bd2773e2 100644 --- a/sat_frontends/jp/base.py +++ b/sat_frontends/jp/base.py @@ -192,6 +192,8 @@ class Jp(object): self._outputs[type_] = OrderedDict() self.default_output = {} + self.own_jid = None # must be filled at runtime if needed + def _bridgeEb(self, failure): if isinstance(failure, exceptions.BridgeExceptionNoService): print(_(u"Can't connect to SàT backend, are you sure it's launched ?"))