Remove unnecessary None check

This commit is contained in:
Mark Aaron Shirley 2013-03-02 10:15:43 -08:00
parent eb5a7c7c28
commit b74751060c

View File

@ -291,8 +291,6 @@ class BaseSerializer(WritableField):
"""
Get the corresponding object to deserialize the data into.
"""
if self.unused_objects is None: return None
# Just get the first object in the list.
if self.unused_objects:
obj = self.unused_objects[0]