diff sat/bridge/bridge_constructor/constructors/dbus/dbus_core_template.py @ 2628:779351da2c13

core, frontends: replaced org\.goffi namespaces by org.salutatoi + fixed generation: generation of D-Bus bridge has been broken by black formatting tool, this patch fixes this.
author Goffi <goffi@goffi.org>
date Sun, 01 Jul 2018 20:37:58 +0200
parents 56f94936df1e
children 003b8b4b56a7
line wrap: on
line diff
--- a/sat/bridge/bridge_constructor/constructors/dbus/dbus_core_template.py	Fri Jun 29 15:54:46 2018 +0200
+++ b/sat/bridge/bridge_constructor/constructors/dbus/dbus_core_template.py	Sun Jul 01 20:37:58 2018 +0200
@@ -28,9 +28,9 @@
 from twisted.internet.defer import Deferred
 from sat.core.exceptions import BridgeInitError
 
-const_INT_PREFIX = "org.goffi.SAT"  # Interface prefix
+const_INT_PREFIX = "org.salutatoi.SAT"  # Interface prefix
 const_ERROR_PREFIX = const_INT_PREFIX + ".error"
-const_OBJ_PATH = "/org/goffi/SAT/bridge"
+const_OBJ_PATH = "/org/salutatoi/SAT/bridge"
 const_CORE_SUFFIX = ".core"
 const_PLUGIN_SUFFIX = ".plugin"
 
@@ -128,10 +128,10 @@
         #       further investigations
         pass
 
-    ##SIGNALS_PART##
+##SIGNALS_PART##
     ### methods ###
 
-    ##METHODS_PART##
+##METHODS_PART##
     def __attributes(self, in_sign):
         """Return arguments to user given a in_sign
         @param in_sign: in_sign in the short form (using s,a,i,b etc)
@@ -272,7 +272,7 @@
         self.dbus_name = dbus.service.BusName(const_INT_PREFIX, self.session_bus)
         self.dbus_bridge = DbusObject(self.session_bus, const_OBJ_PATH)
 
-    ##SIGNAL_DIRECT_CALLS_PART##
+##SIGNAL_DIRECT_CALLS_PART##
     def register_method(self, name, callback):
         log.debug("registering DBus bridge method [%s]" % name)
         self.dbus_bridge.register_method(name, callback)