Fix python sockets after latest changes.
The issue was triggered by CCoreTranslationMixin being parent of CZNCSock, and DisableReadLine wasn't found as attribute anymore. Thanks to obiw4n for report.
This commit is contained in:
1 parent
5b3d2c1c19
commit
6eaa93f8da
2 files changed
+45
-2
No files matched your search
@@ -676,8 +676,9 @@ def make_inherit(cl, parent, attr):
|
||||
for x in parent.__dict__:
|
||||
if not x.startswith('_') and x not in cl.__dict__:
|
||||
setattr(cl, x, make_caller(parent, x, attr))
|
||||
if '_s' in parent.__dict__:
|
||||
parent = parent._s
|
||||
if parent.__bases__:
|
||||
# Multiple inheritance is not supported (yet?)
|
||||
parent = parent.__bases__[0]
|
||||
else:
|
||||
break
|
||||
|
||||
|
||||
Reference in new issue
Block a user