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

Tres Seaver cvs-admin at zope.org
Tue Nov 18 08:17:44 EST 2003


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

Modified Files:
	Script.py 
Log Message:
 - Merge tseaver-strexp_delenda-branch to the head.


=== Zope/lib/python/Shared/DC/Scripts/Script.py 1.7 => 1.8 ===
--- 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	Tue Nov 18 08:17:13 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