comparison frontends/src/jp/cmd_pubsub.py @ 2318:ddb67c186f61

jp (pubsub/search): profile is transmited to subcommand for "exec" action
author Goffi <goffi@goffi.org>
date Sat, 08 Jul 2017 22:50:25 +0200
parents f4e05600577b
children f4a0723042ee
comparison
equal deleted inserted replaced
2317:f4e05600577b 2318:ddb67c186f61
680 item_elt = self.parseXml(item) 680 item_elt = self.parseXml(item)
681 if action == u'exec': 681 if action == u'exec':
682 use = {'service': metadata[u'service'], 682 use = {'service': metadata[u'service'],
683 'node': metadata[u'node'], 683 'node': metadata[u'node'],
684 'item': item_elt.get('id'), 684 'item': item_elt.get('id'),
685 'profile': self.profile
685 } 686 }
686 # we need to send a copy of self.args.command 687 # we need to send a copy of self.args.command
687 # else it would be modified 688 # else it would be modified
688 parser_args, use_args = arg_tools.get_use_args(self.host, 689 parser_args, use_args = arg_tools.get_use_args(self.host,
689 self.args.command, 690 self.args.command,