Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1681627 commit 57d51f2Copy full SHA for 57d51f2
1 file changed
Lib/cgi.py
@@ -850,7 +850,8 @@ def g(f=f):
850
except:
851
print_exception()
852
853
- # Second try with a small maxlen...
+ print "<H1>Second try with a small maxlen...</H1>"
854
+
855
global maxlen
856
maxlen = 50
857
try:
@@ -859,7 +860,6 @@ def g(f=f):
859
860
print_environ(environ)
861
print_directory()
862
print_arguments()
- print_environ_usage()
863
864
865
@@ -895,6 +895,8 @@ def print_form(form):
895
keys.sort()
896
print
897
print "<H3>Form Contents:</H3>"
898
+ if not keys:
899
+ print "<P>No form fields."
900
print "<DL>"
901
for key in keys:
902
print "<DT>" + escape(key) + ":",
0 commit comments