[Zope-Checkins] SVN: Zope/hotfixes/Hotfix_20080812/trunk/__init__.py Make text of raised ValueError a correct sentence:

Maurits van Rees m.van.rees at zestsoftware.nl
Tue Aug 12 13:20:00 EDT 2008


Log message for revision 89743:
  Make text of raised ValueError a correct sentence:
  SystemExit can not raised with a PythonScript =>
  SystemExit can not be raised within a PythonScript
  

Changed:
  U   Zope/hotfixes/Hotfix_20080812/trunk/__init__.py

-=-
Modified: Zope/hotfixes/Hotfix_20080812/trunk/__init__.py
===================================================================
--- Zope/hotfixes/Hotfix_20080812/trunk/__init__.py	2008-08-12 16:39:23 UTC (rev 89742)
+++ Zope/hotfixes/Hotfix_20080812/trunk/__init__.py	2008-08-12 17:19:59 UTC (rev 89743)
@@ -153,7 +153,7 @@
     try:
         result = f(*args, **kw)
     except SystemExit:
-        raise ValueError('SystemExit can not raised with a PythonScript')
+        raise ValueError('SystemExit can not be raised within a PythonScript')
 
     if keyset is not None:
         # Store the result in the cache.



More information about the Zope-Checkins mailing list