Return None if Object.create(None); white space cleanup
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user