File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666Content-type header and blank line have already been printed) checks that
6767the fields "name" and "addr" are both set to a non-empty string:
6868
69- form = FieldStorage()
69+ form = cgi. FieldStorage()
7070 form_ok = 0
7171 if form.has_key("name") and form.has_key("addr"):
7272 if form["name"].value != "" and form["addr"].value != "":
@@ -1054,7 +1054,7 @@ def print_environ():
10541054 keys = environ .keys ()
10551055 keys .sort ()
10561056 print
1057- print "<H3>Shell environment :</H3>"
1057+ print "<H3>Shell Environment :</H3>"
10581058 print "<DL>"
10591059 for key in keys :
10601060 print "<DT>" , escape (key ), "<DD>" , escape (environ [key ])
@@ -1066,7 +1066,7 @@ def print_form(form):
10661066 keys = form .keys ()
10671067 keys .sort ()
10681068 print
1069- print "<H3>Form contents :</H3>"
1069+ print "<H3>Form Contents :</H3>"
10701070 print "<DL>"
10711071 for key in keys :
10721072 print "<DT>" + escape (key ) + ":" ,
@@ -1090,7 +1090,7 @@ def print_directory():
10901090
10911091def print_arguments ():
10921092 print
1093- print "<H3>Command line Arguments:</H3>"
1093+ print "<H3>Command Line Arguments:</H3>"
10941094 print
10951095 print sys .argv
10961096 print
You can’t perform that action at this time.
0 commit comments