Mercurial > libervia-backend
diff sat/bridge/bridge_constructor/constructors/pb/constructor.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/constructor.py Fri Jan 11 10:18:02 2019 +0100 +++ b/sat/bridge/bridge_constructor/constructors/pb/constructor.py Fri Jan 11 11:13:15 2019 +0100 @@ -58,7 +58,7 @@ "args_no_def": self.getArguments(function["sig_in"], name=arg_doc), "callback": "callback" if function["sig_out"] - else "lambda dummy: callback()", + else "lambda __: callback()", "debug": "" if not self.args.debug else 'log.debug ("%s")\n%s' % (completion["name"], 8 * " "),