comparison sat_frontends/jp/base.py @ 2614:a5b96950b81a

jp (event): fixed crash on missing item in get and inviteeGet by making it mandatory.
author Goffi <goffi@goffi.org>
date Thu, 21 Jun 2018 01:21:44 +0200
parents 75d2ac872965
children b4ecbcc2fd08
comparison
equal deleted inserted replaced
2613:9680cd958529 2614:a5b96950b81a
740 - use_draft(bool): if True, add draft handling options 740 - use_draft(bool): if True, add draft handling options
741 ** other arguments ** 741 ** other arguments **
742 - pubsub_flags(iterable[unicode]): tuple of flags to set pubsub options, can be: 742 - pubsub_flags(iterable[unicode]): tuple of flags to set pubsub options, can be:
743 C.SERVICE: service is required 743 C.SERVICE: service is required
744 C.NODE: node is required 744 C.NODE: node is required
745 C.ITEM: item is required
745 C.SINGLE_ITEM: only one item is allowed 746 C.SINGLE_ITEM: only one item is allowed
746 @attribute need_loop(bool): to set by commands when loop is needed 747 @attribute need_loop(bool): to set by commands when loop is needed
747 """ 748 """
748 self.need_loop = False # to be set by commands when loop is needed 749 self.need_loop = False # to be set by commands when loop is needed
749 try: # If we have subcommands, host is a CommandBase and we need to use host.host 750 try: # If we have subcommands, host is a CommandBase and we need to use host.host