board-descriptor: correct a type during refactoring
This commit is contained in:
parent
9d406de448
commit
06371933b8
|
|
@ -215,8 +215,8 @@ class Descriptor:
|
||||||
if tlv is None:
|
if tlv is None:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if not self.bd.is_writable:
|
if not self.bdraw.is_writable:
|
||||||
raise IOError("This operation is not permitted on \
|
raise IOError("This operation is not permitted on "
|
||||||
this descriptor (ro)")
|
"this descriptor (ro)")
|
||||||
self._do_set(name, value, tlv)
|
self._do_set(name, value, tlv)
|
||||||
return True
|
return True
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue