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
dbcca378
Commit
dbcca378
authored
Mar 21, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
publish(): Remove unused assignment.
parent
23d6e1ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
lib/python/ZPublisher/Publish.py
lib/python/ZPublisher/Publish.py
+2
-3
No files found.
lib/python/ZPublisher/Publish.py
View file @
dbcca378
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
"""Python Object Publisher -- Publish Python objects on web servers
$Id: Publish.py,v 1.16
1 2003/03/21 21:15:02
fdrake Exp $"""
__version__
=
'$Revision: 1.16
1
$'
[
11
:
-
2
]
$Id: Publish.py,v 1.16
2 2003/03/21 21:20:10
fdrake Exp $"""
__version__
=
'$Revision: 1.16
2
$'
[
11
:
-
2
]
import
sys
,
os
from
Response
import
Response
...
...
@@ -67,7 +67,6 @@ def publish(request, module_name, after_list, debug=0,
response
=
request
.
response
# First check for "cancel" redirect:
cancel
=
''
if
request_get
(
'SUBMIT'
,
''
).
strip
().
lower
()
==
'cancel'
:
cancel
=
request_get
(
'CANCEL_ACTION'
,
''
)
if
cancel
:
raise
'Redirect'
,
cancel
...
...
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