comparison sat/bridge/bridge_constructor/constructors/embedded/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
comparison
equal deleted inserted replaced
2764:92af49cde255 2765:378188abe941
56 } 56 }
57 ) 57 )
58 58
59 if async_: 59 if async_:
60 completion["cb_or_lambda"] = ( 60 completion["cb_or_lambda"] = (
61 "callback" if function["sig_out"] else "lambda dummy: callback()" 61 "callback" if function["sig_out"] else "lambda __: callback()"
62 ) 62 )
63 completion[ 63 completion[
64 "ret_routine" 64 "ret_routine"
65 ] = """\ 65 ] = """\
66 d = self._methods_cbs["{name}"]({args_result}) 66 d = self._methods_cbs["{name}"]({args_result})