diff frontends/src/jp/cmd_pubsub.py @ 2279:e2f96cd1887b

jp (cmd_pubsub): xmpp: uri handling, first draft
author Goffi <goffi@goffi.org>
date Wed, 28 Jun 2017 19:19:08 +0200
parents 5cd45a79775b
children 4bc9a2c2d6c9
line wrap: on
line diff
--- a/frontends/src/jp/cmd_pubsub.py	Wed Jun 28 01:28:41 2017 +0200
+++ b/frontends/src/jp/cmd_pubsub.py	Wed Jun 28 19:19:08 2017 +0200
@@ -59,6 +59,7 @@
         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 @@
         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 @@
         self.host.quit(C.EXIT_BRIDGE_ERRBACK)
 
     def start(self):
+        common.checkURI(self.args)
         self.host.bridge.psItemsGet(
             self.args.service,
             self.args.node,