diff sat/plugins/plugin_misc_debug.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_debug.py	Wed Jun 27 07:51:29 2018 +0200
+++ b/sat/plugins/plugin_misc_debug.py	Wed Jun 27 20:14:46 2018 +0200
@@ -19,6 +19,7 @@
 
 from sat.core.i18n import _
 from sat.core.log import getLogger
+
 log = getLogger(__name__)
 from sat.core.constants import Const as C
 import json
@@ -31,17 +32,21 @@
     C.PI_DEPENDENCIES: [],
     C.PI_MAIN: "Debug",
     C.PI_HANDLER: "no",
-    C.PI_DESCRIPTION: _("""Set of method to make development and debugging easier""")
+    C.PI_DESCRIPTION: _("""Set of method to make development and debugging easier"""),
 }
 
 
 class Debug(object):
-
     def __init__(self, host):
         log.info(_("Plugin Debug initialization"))
         self.host = host
-        host.bridge.addMethod("debugFakeSignal", ".plugin", in_sign='sss', out_sign='', method=self._fakeSignal)
-
+        host.bridge.addMethod(
+            "debugFakeSignal",
+            ".plugin",
+            in_sign="sss",
+            out_sign="",
+            method=self._fakeSignal,
+        )
 
     def _fakeSignal(self, signal, arguments, profile_key):
         """send a signal from backend
@@ -56,6 +61,3 @@
             profile = self.host.memory.getProfileName(profile_key)
             args.append(profile)
         method(*args)
-
-
-