diff sat/plugins/plugin_misc_extra_pep.py @ 2624:56f94936df1e

code style reformatting using black
author Goffi <goffi@goffi.org>
date Wed, 27 Jun 2018 20:14:46 +0200
parents 26edcf3a30eb
children ab2696e34d29
line wrap: on
line diff
--- a/sat/plugins/plugin_misc_extra_pep.py	Wed Jun 27 07:51:29 2018 +0200
+++ b/sat/plugins/plugin_misc_extra_pep.py	Wed Jun 27 20:14:46 2018 +0200
@@ -20,6 +20,7 @@
 from sat.core.i18n import _, D_
 from sat.core.constants import Const as C
 from sat.core.log import getLogger
+
 log = getLogger(__name__)
 from sat.memory import params
 from twisted.words.protocols.jabber import jid
@@ -34,7 +35,7 @@
     C.PI_RECOMMENDATIONS: [],
     C.PI_MAIN: "ExtraPEP",
     C.PI_HANDLER: "no",
-    C.PI_DESCRIPTION: _(u"""Display messages from extra PEP services""")
+    C.PI_DESCRIPTION: _(u"""Display messages from extra PEP services"""),
 }
 
 
@@ -57,11 +58,11 @@
     </individual>
     </params>
     """ % {
-        'category_name': PARAM_KEY,
-        'category_label': D_(PARAM_KEY),
-        'param_name': PARAM_NAME,
-        'param_label': D_(PARAM_LABEL),
-        'jids': u"\n".join({elt.toXml() for elt in params.createJidElts(PARAM_DEFAULT)})
+        "category_name": PARAM_KEY,
+        "category_label": D_(PARAM_KEY),
+        "param_name": PARAM_NAME,
+        "param_label": D_(PARAM_LABEL),
+        "jids": u"\n".join({elt.toXml() for elt in params.createJidElts(PARAM_DEFAULT)}),
     }
 
     def __init__(self, host):