Mercurial > libervia-backend
comparison sat_frontends/tools/xmlui.py @ 2879:5ba98fd6c9a4
core: minor style improvments
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 27 Mar 2019 21:15:25 +0100 |
parents | 442ab697f831 |
children | 5ecce65631a2 |
comparison
equal
deleted
inserted
replaced
2878:a02ad4bc0a6d | 2879:5ba98fd6c9a4 |
---|---|
883 log.warning( | 883 log.warning( |
884 _("The form data is not sent back, the type is not managed properly") | 884 _("The form data is not sent back, the type is not managed properly") |
885 ) | 885 ) |
886 self._xmluiClose() | 886 self._xmluiClose() |
887 | 887 |
888 def onFormCancelled(self, ignore=None): | 888 def onFormCancelled(self, *__): |
889 """Called when a form is cancelled""" | 889 """Called when a form is cancelled""" |
890 log.debug(_("Cancelling form")) | 890 log.debug(_("Cancelling form")) |
891 if self.submit_id is not None: | 891 if self.submit_id is not None: |
892 data = {C.XMLUI_DATA_CANCELLED: C.BOOL_TRUE} | 892 data = {C.XMLUI_DATA_CANCELLED: C.BOOL_TRUE} |
893 self.submit(data) | 893 self.submit(data) |