Mercurial > cpython-lru_cache-weakref
diff Lib/cgi.py @ 14645:2d30c35feebe legacy-trunk
Improve the test output a bit.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sat, 16 Sep 2000 21:16:01 +0000 |
| parents | f2fc66a6153b |
| children | a7813ad73a4e |
line wrap: on
line diff
--- a/Lib/cgi.py Sat Sep 16 20:40:44 2000 +0000 +++ b/Lib/cgi.py Sat Sep 16 21:16:01 2000 +0000 @@ -850,7 +850,8 @@ except: print_exception() - # Second try with a small maxlen... + print "<H1>Second try with a small maxlen...</H1>" + global maxlen maxlen = 50 try: @@ -859,7 +860,6 @@ print_environ(environ) print_directory() print_arguments() - print_environ_usage() except: print_exception() @@ -895,6 +895,8 @@ keys.sort() print print "<H3>Form Contents:</H3>" + if not keys: + print "<P>No form fields." print "<DL>" for key in keys: print "<DT>" + escape(key) + ":",
