mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
They were all missing the 'self.' prefix when accessing the 'obj'
instance variable, causing the following exception when attempting to
call len() on (for example) a ReplyInfo_RRSet:
File "/usr/lib/python3.7/site-packages/unboundmodule.py", line 377, in __len__
def __len__(self): return obj.rrset_count
NameError: name 'obj' is not defined
|
||
|---|---|---|
| .. | ||
| doc | ||
| examples | ||
| interface.i | ||
| LICENSE | ||
| Makefile | ||
| pythonmod.c | ||
| pythonmod.h | ||
| pythonmod_utils.c | ||
| pythonmod_utils.h | ||
| test-calc.conf | ||
| test-dict.conf | ||
| test-edns.conf | ||
| test-inplace_callbacks.conf | ||
| test-log.conf | ||
| test-resgen.conf | ||
| test-resip.conf | ||
| test-resmod.conf | ||
| ubmodule-msg.py | ||
| ubmodule-tst.py | ||