[Zope-CVS] CVS: Packages/ZConfig - Interpolation.py:1.4
Fred L. Drake, Jr.
fdrake@acm.org
Wed, 9 Oct 2002 13:00:28 -0400
Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv9304
Modified Files:
Interpolation.py
Log Message:
Added InterpolationError.__str__() to be nice.
=== Packages/ZConfig/Interpolation.py 1.3 => 1.4 ===
--- Packages/ZConfig/Interpolation.py:1.3 Wed Oct 9 12:42:02 2002
+++ Packages/ZConfig/Interpolation.py Wed Oct 9 13:00:27 2002
@@ -10,6 +10,9 @@
self.message = msg
self.context = context
+ def __str__(self):
+ return self.message
+
class InterpolationSyntaxError(InterpolationError):
"""Raised when interpolation source text contains syntactical errors."""