summaryrefslogtreecommitdiff
path: root/factory
diff options
context:
space:
mode:
Diffstat (limited to 'factory')
-rw-r--r--factory/containers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/factory/containers.py b/factory/containers.py
index ee2ad82..b3b003e 100644
--- a/factory/containers.py
+++ b/factory/containers.py
@@ -55,6 +55,7 @@ class LazyStub(object):
self.__pending = []
self.__containers = containers
self.__target_class = target_class
+ self.factory_parent = containers[0] if containers else None
self.__initialized = True
def __repr__(self):