From fbd66ede5617a40f73dfb3f518c9887d48ab401e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Barrois?= Date: Wed, 2 May 2012 10:31:31 +0200 Subject: Typo in PostGenerationMethodCall.__init__ (Closes #14). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaƫl Barrois --- factory/declarations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'factory/declarations.py') 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 -- cgit v1.2.3