[Zope-Checkins] CVS: Zope/lib/python/RestrictedPython - Guards.py:1.8.6.1

Andreas Jung andreas@andreas-jung.com
Wed, 11 Jun 2003 13:28:40 -0400


Update of /cvs-repository/Zope/lib/python/RestrictedPython
In directory cvs.zope.org:/tmp/cvs-serv22699/lib/python/RestrictedPython

Modified Files:
      Tag: Zope-2_6-branch
	Guards.py 
Log Message:
added UnicodeError as safe name


=== Zope/lib/python/RestrictedPython/Guards.py 1.8 => 1.8.6.1 ===
--- Zope/lib/python/RestrictedPython/Guards.py:1.8	Wed Aug 14 17:44:31 2002
+++ Zope/lib/python/RestrictedPython/Guards.py	Wed Jun 11 13:28:40 2003
@@ -28,7 +28,7 @@
              'IOError', 'ImportError', 'IndexError', 'KeyError',
              'LookupError', 'NameError', 'OSError', 'OverflowError',
              'RuntimeError', 'StandardError', 'SyntaxError',
-             'TypeError', 'ValueError', 'ZeroDivisionError',):
+             'TypeError', 'UnicodeError', 'ValueError', 'ZeroDivisionError',):
     safe_builtins[name] = __builtins__[name]