Commit dbcca378 authored by Fred Drake's avatar Fred Drake

publish(): Remove unused assignment.

parent 23d6e1ac
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,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.161 2003/03/21 21:15:02 fdrake Exp $""" $Id: Publish.py,v 1.162 2003/03/21 21:20:10 fdrake Exp $"""
__version__='$Revision: 1.161 $'[11:-2] __version__='$Revision: 1.162 $'[11:-2]
import sys, os import sys, os
from Response import Response from Response import Response
...@@ -67,7 +67,6 @@ def publish(request, module_name, after_list, debug=0, ...@@ -67,7 +67,6 @@ def publish(request, module_name, after_list, debug=0,
response=request.response response=request.response
# First check for "cancel" redirect: # First check for "cancel" redirect:
cancel=''
if request_get('SUBMIT','').strip().lower()=='cancel': if request_get('SUBMIT','').strip().lower()=='cancel':
cancel=request_get('CANCEL_ACTION','') cancel=request_get('CANCEL_ACTION','')
if cancel: raise 'Redirect', cancel if cancel: raise 'Redirect', cancel
......
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