]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- bug 481: fix python example0.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 30 Nov 2012 09:41:38 +0000 (09:41 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 30 Nov 2012 09:41:38 +0000 (09:41 +0000)
git-svn-id: file:///svn/unbound/trunk@2783 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
pythonmod/doc/examples/example0-1.py

index 0e82d971c14da0e223e2b26b97038c06dd219021..30add8d1a07205706d75df1b521347ab65b98877 100644 (file)
@@ -1,3 +1,6 @@
+30 November 2012: Wouter
+       - bug 481: fix python example0.
+
 27 November 2012: Wouter
        - iana portlist updated.
 
index 98a9acccdeafd63d2491036c72aec88919ff09a3..3b234f1e099c513c5e83fb496627157dfa10ddbc 100644 (file)
@@ -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