Skip to content

Commit 11e4dd8

Browse files
committed
update device object
1 parent 03521f3 commit 11e4dd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cterasdk/common/object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
class Object(MutableMapping): # pylint: disable=too-many-instance-attributes
88

99
def __init__(self, **kwargs):
10-
super().__init__()
1110
for k, v in kwargs.items():
1211
setattr(self, k, v)
1312

@@ -36,6 +35,7 @@ def __repr__(self):
3635
class Device(Object):
3736

3837
def __init__(self, uid, version, firmware):
38+
super().__init__()
3939
self.namespace = 'http://www.w3.org/2001/XMLSchema-instance'
4040
self.location = '../../db/resources/db.xsd'
4141
self.id = uid

0 commit comments

Comments
 (0)