Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions couchdbkit/schema/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ def __init__(self, _d=None, **properties):

_dynamic_properties = properties.copy()
for attr_name, value in _dynamic_properties.iteritems():
if attr_name not in self._properties \
and value is not None:
if attr_name not in self._properties:
if isinstance(value, p.Property):
value.__property_config__(self, attr_name)
value.__property_init__(self, value.default_value())
Expand Down