Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
92a74752
Commit
92a74752
authored
Jan 05, 1999
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a nameerror in Publish.py that prevented PUT from working.
parent
e436f196
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/python/ZPublisher/Publish.py
lib/python/ZPublisher/Publish.py
+3
-3
No files found.
lib/python/ZPublisher/Publish.py
View file @
92a74752
...
...
@@ -84,8 +84,8 @@
##############################################################################
__doc__
=
"""Python Object Publisher -- Publish Python objects on web servers
$Id: Publish.py,v 1.11
5 1998/12/29 18:10:12 jim
Exp $"""
__version__
=
'$Revision: 1.11
5
$'
[
11
:
-
2
]
$Id: Publish.py,v 1.11
6 1999/01/05 16:17:19 brian
Exp $"""
__version__
=
'$Revision: 1.11
6
$'
[
11
:
-
2
]
import
sys
,
os
,
string
,
cgi
,
regex
from
string
import
lower
,
atoi
,
rfind
,
split
,
strip
,
join
,
upper
,
find
...
...
@@ -148,11 +148,11 @@ class ModulePublisher:
form
=
{}
form_has
=
form
.
has_key
other
=
{}
meth
=
None
fs
=
FieldStorage
(
fp
=
fp
,
environ
=
environ
,
keep_blank_values
=
1
)
if
not
hasattr
(
fs
,
'list'
)
or
fs
.
list
is
None
:
form
[
'BODY'
]
=
other
[
'BODY'
]
=
fs
.
value
else
:
meth
=
None
fslist
=
fs
.
list
tuple_items
=
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment