jp (cmd_pubsub): xmpp: uri handling, first draft

This commit is contained in:
Goffi 2017-06-28 19:19:08 +02:00
commit c2ae6579c3

View file

@ -59,6 +59,7 @@ class NodeInfo(base.CommandBase):
self.host.quit(C.EXIT_BRIDGE_ERRBACK)
def start(self):
common.checkURI(self.args)
self.host.bridge.psNodeConfigurationGet(
self.args.service,
self.args.node,
@ -198,6 +199,7 @@ class NodeAffiliationsGet(base.CommandBase):
self.host.quit(C.EXIT_BRIDGE_ERRBACK)
def start(self):
common.checkURI(self.args)
self.host.bridge.psNodeAffiliationsGet(
self.args.service,
self.args.node,
@ -285,6 +287,7 @@ class Get(base.CommandBase):
self.host.quit(C.EXIT_BRIDGE_ERRBACK)
def start(self):
common.checkURI(self.args)
self.host.bridge.psItemsGet(
self.args.service,
self.args.node,