aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/serializer.py
diff options
context:
space:
mode:
authorEwoud Kohl van Wijngaarden2012-01-09 15:56:41 +0100
committerEwoud Kohl van Wijngaarden2012-01-09 15:56:41 +0100
commit0d64b4a704eed2fb483de66a7e7271ac83144530 (patch)
tree2ab6bbb9db50d4ca45810313eacf95546a97f015 /djangorestframework/tests/serializer.py
parente712ab0ba193e22e121fcd56dfea166bd84f57ed (diff)
downloaddjango-rest-framework-0d64b4a704eed2fb483de66a7e7271ac83144530.tar.bz2
Make a nested if flat
This is a possible fix for issue #73. The problem occurs when the first if-statement is true, but the second is not. This results into the variable obj not being set. This commit solves it by removing that branch.
Diffstat (limited to 'djangorestframework/tests/serializer.py')
0 files changed, 0 insertions, 0 deletions