mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- In unit test, print python script name list correctly.
This commit is contained in:
parent
2571d00535
commit
5ffa4d7232
2 changed files with 7 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
14 October 2022: Wouter
|
14 October 2022: Wouter
|
||||||
- Merge #768 from fobser: Arithmetic on a pointer to void is a GNU
|
- Merge #768 from fobser: Arithmetic on a pointer to void is a GNU
|
||||||
extension.
|
extension.
|
||||||
|
- In unit test, print python script name list correctly.
|
||||||
|
|
||||||
13 October 2022: Wouter
|
13 October 2022: Wouter
|
||||||
- Tag for 1.17.0 release. The code repository continues with 1.17.1.
|
- Tag for 1.17.0 release. The code repository continues with 1.17.1.
|
||||||
|
|
|
||||||
7
testdata/pymod.tdir/pymod.py
vendored
7
testdata/pymod.tdir/pymod.py
vendored
|
|
@ -37,7 +37,12 @@
|
||||||
import os
|
import os
|
||||||
|
|
||||||
def init(id, cfg):
|
def init(id, cfg):
|
||||||
log_info("pythonmod: init called, module id is %d port: %d script: %s" % (id, cfg.port, cfg.python_script))
|
scripts=[]
|
||||||
|
s = cfg.python_script
|
||||||
|
while s != None:
|
||||||
|
scripts.append(s.str)
|
||||||
|
s = s.next
|
||||||
|
log_info("pythonmod: init called, module id is %d port: %d script: %s" % (id, cfg.port, scripts))
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def deinit(id):
|
def deinit(id):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue