[Zope-Checkins] CVS: Zope/lib/python/Shared/DC/Scripts - Script.py:1.7.68.1

Tres Seaver cvs-admin at zope.org
Mon Nov 17 17:34:52 EST 2003


Update of /cvs-repository/Zope/lib/python/Shared/DC/Scripts
In directory cvs.zope.org:/tmp/cvs-serv16574/lib/python/Shared/DC/Scripts

Modified Files:
      Tag: Zope-2_7-branch
	Script.py 
Log Message:
 - Merge tseaver-strexp_delenda-branch to the 2.7 branch.


=== Zope/lib/python/Shared/DC/Scripts/Script.py 1.7 => 1.7.68.1 ===
--- Zope/lib/python/Shared/DC/Scripts/Script.py:1.7	Wed Aug 14 17:50:59 2002
+++ Zope/lib/python/Shared/DC/Scripts/Script.py	Mon Nov 17 17:34:16 2003
@@ -25,6 +25,7 @@
 from BindingsUI import BindingsUI
 from Bindings import defaultBindings
 from DocumentTemplate.DT_Util import TemplateDict
+from zExceptions import Redirect
 
 # Temporary:
 from Signature import FuncCode
@@ -51,6 +52,6 @@
         for argvar in argvars:
             if argvar.value:
                 vv.append("%s=%s" % (quote(argvar.name), quote(argvar.value)))
-        raise "Redirect", "%s?%s" % (REQUEST['URL1'], join(vv, '&'))
+        raise Redirect, "%s?%s" % (REQUEST['URL1'], join(vv, '&'))
 
     from Signature import _setFuncSignature




More information about the Zope-Checkins mailing list