[Zope-Checkins] CVS: Zope/lib/python/Shared/DC/Scripts -
Script.py:1.7.90.1
Tres Seaver
cvs-admin at zope.org
Mon Nov 17 17:10:31 EST 2003
Update of /cvs-repository/Zope/lib/python/Shared/DC/Scripts
In directory cvs.zope.org:/tmp/cvs-serv12097/lib/python/Shared/DC/Scripts
Modified Files:
Tag: tseaver-strexp_delenda-branch
Script.py
Log Message:
- Rip string exceptins out by the root.
- webdav/*: clean up block statements for readability.
- XXX: Redirects are now showing up in the error log object; need
to filter!
=== Zope/lib/python/Shared/DC/Scripts/Script.py 1.7 => 1.7.90.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:10:00 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