Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #82 from postatum/99832894_wrong_error_code
Browse files Browse the repository at this point in the history
Dont use __nested
  • Loading branch information
jstoiko committed Jul 31, 2015
2 parents a96331c + f5e09da commit 0f1ae4e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nefertari/utils/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def to_dict(self, **kwargs):
_dict[attr] = val
if __depth:
kw = kwargs.copy()
kw['__nested'] = True
kw['__depth'] = __depth - 1

if hasattr(val, 'to_dict'):
Expand Down

0 comments on commit 0f1ae4e

Please sign in to comment.