do not require an id, because of ItemElement which constructs objects without arguments

This commit is contained in:
Romain Bignon 2014-03-09 15:42:31 +01:00
commit 8d7f613f59

View file

@ -309,7 +309,7 @@ class CapBaseObject(object):
backend = None
_fields = None
def __init__(self, id, backend=None):
def __init__(self, id=u'', backend=None):
self.id = to_unicode(id)
self.backend = backend
self._fields = deepcopy(self._fields)