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
4529cae0
Commit
4529cae0
authored
Jun 17, 2010
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- removed unused variable
parent
127fb227
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZPublisher/BaseRequest.py
src/ZPublisher/BaseRequest.py
+2
-2
No files found.
src/ZPublisher/BaseRequest.py
View file @
4529cae0
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
.
#
#
##############################################################################
##############################################################################
""" Basic ZPublisher request management.
""" Basic ZPublisher request management.
...
@@ -372,7 +372,7 @@ class BaseRequest:
...
@@ -372,7 +372,7 @@ class BaseRequest:
path
=
clean
path
=
clean
# How did this request come in? (HTTP GET, PUT, POST, etc.)
# How did this request come in? (HTTP GET, PUT, POST, etc.)
method
=
req_method
=
request_get
(
'REQUEST_METHOD'
,
'GET'
).
upper
()
method
=
request_get
(
'REQUEST_METHOD'
,
'GET'
).
upper
()
if
method
==
'GET'
or
method
==
'POST'
and
not
isinstance
(
response
,
if
method
==
'GET'
or
method
==
'POST'
and
not
isinstance
(
response
,
xmlrpc
.
Response
):
xmlrpc
.
Response
):
...
...
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