Commit 26310178 authored by Jim Fulton's avatar Jim Fulton

Fixed bug in seting meth.

parent 7ecd0e09
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
__doc__="""Python Object Publisher -- Publish Python objects on web servers __doc__="""Python Object Publisher -- Publish Python objects on web servers
$Id: Publish.py,v 1.113 1998/12/11 20:49:21 jim Exp $""" $Id: Publish.py,v 1.114 1998/12/11 20:53:46 jim Exp $"""
__version__='$Revision: 1.113 $'[11:-2] __version__='$Revision: 1.114 $'[11:-2]
import sys, os, string, cgi, regex import sys, os, string, cgi, regex
from string import lower, atoi, rfind, split, strip, join, upper, find from string import lower, atoi, rfind, split, strip, join, upper, find
...@@ -149,10 +149,10 @@ class ModulePublisher: ...@@ -149,10 +149,10 @@ class ModulePublisher:
form_has=form.has_key form_has=form.has_key
other={} other={}
fs=FieldStorage(fp=fp,environ=environ,keep_blank_values=1) fs=FieldStorage(fp=fp,environ=environ,keep_blank_values=1)
meth=None
if not hasattr(fs,'list') or fs.list is None: if not hasattr(fs,'list') or fs.list is None:
form['BODY']=other['BODY']=fs.value form['BODY']=other['BODY']=fs.value
else: else:
meth=None
fslist=fs.list fslist=fs.list
tuple_items={} tuple_items={}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment