comparison frontends/src/jp/cmd_pubsub.py @ 2290:d5c75be1c8c0

jp (pubsub/node/set): added checkURI to handle xmpp: URIs
author Goffi <goffi@goffi.org>
date Fri, 30 Jun 2017 00:02:16 +0200
parents 4af1805cc6df
children bd4d8c73b1d3
comparison
equal deleted inserted replaced
2289:f8276bd8baf6 2290:d5c75be1c8c0
169 return u'pubsub#' + k 169 return u'pubsub#' + k
170 else: 170 else:
171 return k 171 return k
172 172
173 def start(self): 173 def start(self):
174 common.checkURI(self.args)
174 self.host.bridge.psNodeConfigurationSet( 175 self.host.bridge.psNodeConfigurationSet(
175 self.args.service, 176 self.args.service,
176 self.args.node, 177 self.args.node,
177 {self.getKeyName(k): v for k,v in self.args.fields}, 178 {self.getKeyName(k): v for k,v in self.args.fields},
178 self.profile, 179 self.profile,