summaryrefslogtreecommitdiff
path: root/www/zope210/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'www/zope210/patches/patch-aj')
-rw-r--r--www/zope210/patches/patch-aj19
1 files changed, 0 insertions, 19 deletions
diff --git a/www/zope210/patches/patch-aj b/www/zope210/patches/patch-aj
deleted file mode 100644
index 499c6622a64..00000000000
--- a/www/zope210/patches/patch-aj
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2008/08/17 15:12:57 taca Exp $
-
-Patch #1 corresponding to security advisory 2008-08-12.
-
---- lib/python/Products/PythonScripts/PythonScript.py.orig 2008-05-10 15:33:18.000000000 +0900
-+++ lib/python/Products/PythonScripts/PythonScript.py
-@@ -324,7 +324,11 @@ class PythonScript(Script, Historical, C
- g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
- f = new.function(fcode, g, None, fadefs)
-
-- result = f(*args, **kw)
-+ try:
-+ result = f(*args, **kw)
-+ except SystemExit:
-+ raise ValueError('SystemExit cannot be raised within a PythonScript')
-+
- if keyset is not None:
- # Store the result in the cache.
- self.ZCacheable_set(result, keywords=keyset)