comparison sat_frontends/jp/cmd_blog.py @ 2761:4b693ea24d5f

jp (base, pubsub, ticket): handle order-by: --order-by has been added to pubsub group. New getPubsubExtra helper method generate extra dict according to arguments. getPubsubExtra is used for pubsub/get, blog/get and and ticket/get.
author Goffi <goffi@goffi.org>
date Sun, 06 Jan 2019 17:39:57 +0100
parents f69c1b260e49
children 003b8b4b56a7
comparison
equal deleted inserted replaced
2760:3480d4fdf83a 2761:4b693ea24d5f
391 self.host.bridge.mbGet( 391 self.host.bridge.mbGet(
392 self.args.service, 392 self.args.service,
393 self.args.node, 393 self.args.node,
394 self.args.max, 394 self.args.max,
395 self.args.items, 395 self.args.items,
396 {}, 396 self.getPubsubExtra(),
397 self.profile, 397 self.profile,
398 callback=self.mbGetCb, 398 callback=self.mbGetCb,
399 errback=self.mbGetEb, 399 errback=self.mbGetEb,
400 ) 400 )
401 401