comparison frontends/src/jp/cmd_blog.py @ 2284:4fd010f29f99

jp (blog, event): added checkURI to some command to be able to enter a xmpp: uri as argument
author Goffi <goffi@goffi.org>
date Thu, 29 Jun 2017 20:36:35 +0200
parents 4bc9a2c2d6c9
children 760df3a58c24
comparison
equal deleted inserted replaced
2283:5b04fc0c663d 2284:4fd010f29f99
258 self.disp(u"can't get blog items: {reason}".format( 258 self.disp(u"can't get blog items: {reason}".format(
259 reason=failure_), error=True) 259 reason=failure_), error=True)
260 self.host.quit(C.EXIT_BRIDGE_ERRBACK) 260 self.host.quit(C.EXIT_BRIDGE_ERRBACK)
261 261
262 def start(self): 262 def start(self):
263 common.checkURI(self.args)
263 self.host.bridge.mbGet( 264 self.host.bridge.mbGet(
264 self.args.service, 265 self.args.service,
265 self.args.node, 266 self.args.node,
266 self.args.max, 267 self.args.max,
267 self.args.items, 268 self.args.items,