summaryrefslogtreecommitdiff
path: root/factory/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'factory/base.py')
-rw-r--r--factory/base.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/factory/base.py b/factory/base.py
index 76d3d4a..0429231 100644
--- a/factory/base.py
+++ b/factory/base.py
@@ -380,9 +380,8 @@ class BaseFactory(object):
# Handle post-generation attributes
results = {}
for name, decl in sorted(postgen_declarations.items()):
- did_extract, extracted, extracted_kwargs = postgen_attributes[name]
- results[name] = decl.call(obj, create, extracted,
- factory_extracted=did_extract, **extracted_kwargs)
+ extraction_context = postgen_attributes[name]
+ results[name] = decl.call(obj, create, extraction_context)
cls._after_postgeneration(obj, create, results)