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
a0da992c
Commit
a0da992c
authored
Jan 30, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added has_key method to Request
parent
b0a8f678
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
lib/python/ZPublisher/Publish.py
lib/python/ZPublisher/Publish.py
+11
-2
No files found.
lib/python/ZPublisher/Publish.py
View file @
a0da992c
...
...
@@ -518,7 +518,7 @@ Publishing a module using Fast CGI
o Configure the Fast CGI-enabled web server to execute this
file.
$Id: Publish.py,v 1.3
0 1997/01/28 23:04:10
jim Exp $"""
$Id: Publish.py,v 1.3
1 1997/01/30 00:50:18
jim Exp $"""
#'
# Copyright
#
...
...
@@ -572,7 +572,7 @@ $Id: Publish.py,v 1.30 1997/01/28 23:04:10 jim Exp $"""
#
# See end of file for change log.
#
__version__
=
'$Revision: 1.3
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
1
$'
[
11
:
-
2
]
def
main
():
...
...
@@ -1232,6 +1232,12 @@ class Request:
__repr__
=
__str__
def
has_key
(
self
,
key
):
try
:
self
[
key
]
return
1
except
:
return
0
def
__getitem__
(
self
,
key
):
"""Get a variable value
...
...
@@ -1399,6 +1405,9 @@ def publish_module(module_name,
#
# $Log: Publish.py,v $
# Revision 1.31 1997/01/30 00:50:18 jim
# Added has_key method to Request
#
# Revision 1.30 1997/01/28 23:04:10 jim
# *** empty log message ***
#
...
...
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