summaryrefslogtreecommitdiff
path: root/factory/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'factory/base.py')
-rw-r--r--factory/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/factory/base.py b/factory/base.py
index efff976..7215f00 100644
--- a/factory/base.py
+++ b/factory/base.py
@@ -409,7 +409,7 @@ class BaseFactory(object):
retrieved DeclarationDict.
"""
decls = cls._meta.declarations.copy()
- decls.update(extra_defs)
+ decls.update(extra_defs or {})
return decls
@classmethod