summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polyconseil.fr>2012-05-02 10:31:31 +0200
committerRaphaël Barrois <raphael.barrois@polyconseil.fr>2012-05-02 10:31:31 +0200
commitfbd66ede5617a40f73dfb3f518c9887d48ab401e (patch)
treea1dd289e25c1b68b99acba40dc52efe1f64e3984
parent92bb3cf12120d03a4aa2e4731b7037dee89f94a8 (diff)
downloadfactory-boy-fbd66ede5617a40f73dfb3f518c9887d48ab401e.tar
factory-boy-fbd66ede5617a40f73dfb3f518c9887d48ab401e.tar.gz
Typo in PostGenerationMethodCall.__init__ (Closes #14).
Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
-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