Index: mojo/public/bindings/pylib/generate/mojom_data.py |
diff --git a/mojo/public/bindings/pylib/generate/mojom_data.py b/mojo/public/bindings/pylib/generate/mojom_data.py |
index 4972b689447b19796d1cc6a6450cae5169e1c658..9a575a806f863f23f7075c9573f1c85fff214dea 100644 |
--- a/mojo/public/bindings/pylib/generate/mojom_data.py |
+++ b/mojo/public/bindings/pylib/generate/mojom_data.py |
@@ -60,6 +60,7 @@ def ImportFromData(module, data): |
import_item = {} |
import_item['module_name'] = import_module.name |
import_item['namespace'] = import_module.namespace |
+ import_item['module'] = import_module |
# Copy the struct kinds from our imports into the current module. |
for kind in import_module.kinds.itervalues(): |