summaryrefslogtreecommitdiff
path: root/factory/declarations.py
diff options
context:
space:
mode:
Diffstat (limited to 'factory/declarations.py')
-rw-r--r--factory/declarations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/factory/declarations.py b/factory/declarations.py
index 4d6e767..828d8a7 100644
--- a/factory/declarations.py
+++ b/factory/declarations.py
@@ -353,7 +353,7 @@ class PostGenerationMethodCall(PostGenerationDeclaration):
password = factory.PostGenerationMethodCall('set_password', password='')
"""
def __init__(self, method_name, extract_prefix=None, *args, **kwargs):
- super(RelatedFactory, self).__init__(extract_prefix)
+ super(PostGenerationMethodCall, self).__init__(extract_prefix)
self.method_name = method_name
self.method_args = args
self.method_kwargs = kwargs