comparison sat_frontends/jp/cmd_ticket.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 56f94936df1e
children 003b8b4b56a7
comparison
equal deleted inserted replaced
2760:3480d4fdf83a 2761:4b693ea24d5f
58 self.args.service, 58 self.args.service,
59 self.args.node, 59 self.args.node,
60 self.args.max, 60 self.args.max,
61 self.args.items, 61 self.args.items,
62 u"", 62 u"",
63 {}, 63 self.getPubsubExtra(),
64 self.profile, 64 self.profile,
65 callback=self.ticketsGetCb, 65 callback=self.ticketsGetCb,
66 errback=partial( 66 errback=partial(
67 self.errback, 67 self.errback,
68 msg=_(u"can't get tickets: {}"), 68 msg=_(u"can't get tickets: {}"),