From d97ec7723df87b5dcf48f722ac0391dd5d3c8127 Mon Sep 17 00:00:00 2001 From: Jason Paryani Date: Wed, 19 Nov 2014 08:10:31 -0800 Subject: [PATCH] Add .schema field to imported files --- capnp/lib/capnp.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/capnp/lib/capnp.pyx b/capnp/lib/capnp.pyx index ba07342..c69dca2 100644 --- a/capnp/lib/capnp.pyx +++ b/capnp/lib/capnp.pyx @@ -2976,6 +2976,7 @@ cdef class SchemaParser: abs_path = _os.path.abspath(file_name) module.__path__ = _os.path.dirname(abs_path) module.__file__ = abs_path + module.schema = fileSchema return module