[Zope3-checkins] SVN: Zope3/trunk/src/zope/tales/expressions.py Removed string exception

Dmitry Vasiliev dima at hlabs.spb.ru
Tue Nov 8 09:38:14 EST 2005


Log message for revision 39974:
  Removed string exception
  

Changed:
  U   Zope3/trunk/src/zope/tales/expressions.py

-=-
Modified: Zope3/trunk/src/zope/tales/expressions.py
===================================================================
--- Zope3/trunk/src/zope/tales/expressions.py	2005-11-07 20:58:49 UTC (rev 39973)
+++ Zope3/trunk/src/zope/tales/expressions.py	2005-11-08 14:38:13 UTC (rev 39974)
@@ -134,7 +134,7 @@
                 if ITALESFunctionNamespace.providedBy(ob):
                     ob.setEngine(econtext)
             else:
-                raise "Waagh!"
+                raise ValueError(repr(element))
         return ob
 
 



More information about the Zope3-Checkins mailing list