diff sat/bridge/bridge_constructor/constructors/pb/pb_frontend_template.py @ 2765:378188abe941

misc: replaced all "dummy" by the more conventional and readable "__" ("_" being used for gettext)
author Goffi <goffi@goffi.org>
date Fri, 11 Jan 2019 11:13:15 +0100
parents 56f94936df1e
children 003b8b4b56a7
line wrap: on
line diff
--- a/sat/bridge/bridge_constructor/constructors/pb/pb_frontend_template.py	Fri Jan 11 10:18:02 2019 +0100
+++ b/sat/bridge/bridge_constructor/constructors/pb/pb_frontend_template.py	Fri Jan 11 11:13:15 2019 +0100
@@ -119,7 +119,7 @@
         reactor.connectTCP("localhost", 8789, factory)
         d = factory.getRootObject()
         d.addCallback(self._set_root)
-        d.addCallback(lambda dummy: callback())
+        d.addCallback(lambda __: callback())
         d.addErrback(errback)
 
     def register_signal(self, functionName, handler, iface="core"):