Return None if Object.create(None); white space cleanup

This commit is contained in:
Doug Blank 2015-08-21 08:14:22 -04:00
parent ccbed9cb95
commit e5d6be61f8

View File

@ -228,4 +228,5 @@ class BaseObject(object):
@classmethod @classmethod
def create(cls, data): def create(cls, data):
if data:
return cls().unserialize(data) return cls().unserialize(data)