Mercurial > libervia-backend
diff sat_frontends/jp/output_xmlui.py @ 2624:56f94936df1e
code style reformatting using black
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 27 Jun 2018 20:14:46 +0200 |
parents | 12bf089f0bf3 |
children | 003b8b4b56a7 |
line wrap: on
line diff
--- a/sat_frontends/jp/output_xmlui.py Wed Jun 27 07:51:29 2018 +0200 +++ b/sat_frontends/jp/output_xmlui.py Wed Jun 27 20:14:46 2018 +0200 @@ -22,6 +22,7 @@ from sat_frontends.jp.constants import Const as C from sat_frontends.jp import xmlui_manager from sat.core.log import getLogger + log = getLogger(__name__) @@ -34,12 +35,14 @@ def __init__(self, host): self.host = host host.register_output(C.OUTPUT_XMLUI, u"simple", self.xmlui, default=True) - host.register_output(C.OUTPUT_LIST_XMLUI, u"simple", self.xmlui_list, default=True) + host.register_output( + C.OUTPUT_LIST_XMLUI, u"simple", self.xmlui_list, default=True + ) def xmlui(self, data): xmlui = xmlui_manager.create(self.host, data) xmlui.show(values_only=True) - self.host.disp(u'') + self.host.disp(u"") def xmlui_list(self, data): for d in data: