Add .schema field to imported files

This commit is contained in:
Jason Paryani
2014-11-19 08:10:31 -08:00
parent 100019906f
commit d97ec7723d

View File

@@ -2976,6 +2976,7 @@ cdef class SchemaParser:
abs_path = _os.path.abspath(file_name) abs_path = _os.path.abspath(file_name)
module.__path__ = _os.path.dirname(abs_path) module.__path__ = _os.path.dirname(abs_path)
module.__file__ = abs_path module.__file__ = abs_path
module.schema = fileSchema
return module return module