diff --git a/doc/Changelog b/doc/Changelog index 0e82d971c..30add8d1a 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +30 November 2012: Wouter + - bug 481: fix python example0. + 27 November 2012: Wouter - iana portlist updated. diff --git a/pythonmod/doc/examples/example0-1.py b/pythonmod/doc/examples/example0-1.py index 98a9acccd..3b234f1e0 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