summaryrefslogtreecommitdiffstats
path: root/pythonmod/doc/examples/example0-1.py
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-04-05 09:06:26 +0000
committerdes <des@FreeBSD.org>2013-04-05 09:06:26 +0000
commit35be22788f689639c1a53f650cd8a1fad60a1466 (patch)
tree5c98c370bedd1d0b4cc456b94e1f7a8ceb080bff /pythonmod/doc/examples/example0-1.py
parent30c2432cb51cf03a3f4028c24488b364925a5d89 (diff)
downloadFreeBSD-src-35be22788f689639c1a53f650cd8a1fad60a1466.zip
FreeBSD-src-35be22788f689639c1a53f650cd8a1fad60a1466.tar.gz
Import unbound 1.4.20
Diffstat (limited to 'pythonmod/doc/examples/example0-1.py')
-rw-r--r--pythonmod/doc/examples/example0-1.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/pythonmod/doc/examples/example0-1.py b/pythonmod/doc/examples/example0-1.py
index 98a9acc..3b234f1 100644
--- a/pythonmod/doc/examples/example0-1.py
+++ b/pythonmod/doc/examples/example0-1.py
@@ -1,7 +1,4 @@
-print mod_env.fname # Print module script name
-mod_env.data = "test" # Store global module data
-
def init(id, cfg):
log_info("pythonmod: init called, module id is %d port: %d script: %s" % (id, cfg.port, cfg.python_script))
return True
OpenPOWER on IntegriCloud