File: test_module.py

package info (click to toggle)
python-medusa 0.5.4%2Bclean-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 540 kB
  • ctags: 1,009
  • sloc: python: 5,489; makefile: 11
file content (12 lines) | stat: -rw-r--r-- 281 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- Mode: Python -*-

import pprint

def main (env, stdin, stdout):

    stdout.write (
            '<html><body><h1>Test CGI Module</h1>\r\n'
            '<br>The Environment:<pre>\r\n'
            )
    pprint.pprint (env, stdout)
    stdout.write ('</pre></body></html>\r\n')