File: dummymodule.py

package info (click to toggle)
libapache2-mod-python 3.5.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,864 kB
  • sloc: python: 7,471; ansic: 7,025; makefile: 296; lex: 246; sh: 212
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"