fixed bugs from syntax migration

- a new wrapper for a read function is not only to be created when
  the a new read function is in the class dict, but also when
  it inherited, but not yet wrapped
- a proxy class must not call checkProperties
This commit is contained in:
l_samenv
2021-03-03 14:35:21 +01:00
committed by Markus Zolliker
parent 04692bd1aa
commit 1760881f56
2 changed files with 9 additions and 5 deletions

View File

@ -122,6 +122,8 @@ class ProxyModule(HasIodev, Module):
self.announceUpdate(pname, None, readerror)
self.announceUpdate('status', newstatus)
def checkProperties(self):
pass # skip
class ProxyReadable(ProxyModule, Readable):
pass