summaryrefslogtreecommitdiff
path: root/factory/base.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polyconseil.fr>2011-05-24 09:58:16 +0200
committerRaphaël Barrois <raphael.barrois@polyconseil.fr>2011-05-24 09:58:16 +0200
commitcb66c88859d8de161561ae42c9eccd8af56440c8 (patch)
treea9c37f4ad39c661b5f698f08080fb64adda41e44 /factory/base.py
parente42516b995053d0d5f8d4d13a94cea4953ea1850 (diff)
downloadfactory-boy-cb66c88859d8de161561ae42c9eccd8af56440c8.tar
factory-boy-cb66c88859d8de161561ae42c9eccd8af56440c8.tar.gz
Fix the SubFactory/Sequence behaviour.
Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
Diffstat (limited to 'factory/base.py')
-rw-r--r--factory/base.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/factory/base.py b/factory/base.py
index d38c82d..ff77e77 100644
--- a/factory/base.py
+++ b/factory/base.py
@@ -163,9 +163,6 @@ class BaseFactory(object):
applicable; the current list of computed attributes is available for
to the currently processed object.
"""
- attributes = {}
- cls.sequence = cls._generate_next_sequence()
-
return getattr(cls, CLASS_ATTRIBUTE_DECLARATIONS).build_attributes(cls, create, kwargs)
@classmethod