128
128
children = object.__getattribute__(self, '_import_replacer_children')
129
129
member = object.__getattribute__(self, '_member')
130
130
module_path = object.__getattribute__(self, '_module_path')
132
module = __import__(module_path, scope, scope, [member])
133
module = __import__(module_python_path, scope, scope, [member])
133
134
return getattr(module, member)
135
module = __import__(module_path, scope, scope, [])
136
module = __import__(module_python_path, scope, scope, [])
137
140
# Prepare the children to be imported
138
141
for child_name, child_path, grandchildren in children: