Index: mojo/public/tools/bindings/generators/python_templates/module.py.tmpl |
diff --git a/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl b/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl |
index e0dd27f35cb8e3a16e265f6e30e47d53f7b5c607..9560c291648aa4ecf2ee3086dc5eaca4deee1026 100644 |
--- a/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl |
+++ b/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl |
@@ -37,7 +37,7 @@ class {{interface|name}}(object): |
__metaclass__ = _reflection.MojoInterfaceType |
DESCRIPTOR = { |
{% if interface.client %} |
- 'client': {{interface.qualified_client|fully_qualified_name}}, |
+ 'client': lambda: {{interface.qualified_client|fully_qualified_name}}, |
{% endif %} |
'methods': [ |
{% for method in interface.methods %} |