diff sat/plugins/plugin_xep_0059.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 035901dc946d
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0059.py	Wed Jun 27 07:51:29 2018 +0200
+++ b/sat/plugins/plugin_xep_0059.py	Wed Jun 27 20:14:46 2018 +0200
@@ -21,6 +21,7 @@
 from sat.core.i18n import _
 from sat.core.constants import Const as C
 from sat.core.log import getLogger
+
 log = getLogger(__name__)
 
 from wokkel import disco
@@ -38,7 +39,7 @@
     C.PI_PROTOCOLS: ["XEP-0059"],
     C.PI_MAIN: "XEP_0059",
     C.PI_HANDLER: "yes",
-    C.PI_DESCRIPTION: _("""Implementation of Result Set Management""")
+    C.PI_DESCRIPTION: _("""Implementation of Result Set Management"""),
 }
 
 
@@ -55,8 +56,8 @@
 class XEP_0059_handler(xmlstream.XMPPHandler):
     implements(iwokkel.IDisco)
 
-    def getDiscoInfo(self, requestor, target, nodeIdentifier=''):
+    def getDiscoInfo(self, requestor, target, nodeIdentifier=""):
         return [disco.DiscoFeature(rsm.NS_RSM)]
 
-    def getDiscoItems(self, requestor, target, nodeIdentifier=''):
+    def getDiscoItems(self, requestor, target, nodeIdentifier=""):
         return []