File: dummymodule.py

package info (click to toggle)
libapache2-mod-python 3.5.0%2Bgit20211031.e6458ec-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,016 kB
  • sloc: python: 7,467; ansic: 7,037; makefile: 295; lex: 246; sh: 171
file content (7 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
from mod_python import apache

apache.log_error("dummymodule / %s" % apache.interpreter)

def function():
    apache.log_error("dummymodule::function / %s" % apache.interpreter)
    apache.main_server.get_options()["dummymodule::function"] = "1"