[Zope-Checkins] CVS: Packages/ZConfig - Common.py:1.2

Fred L. Drake, Jr. fdrake@acm.org
Thu, 10 Oct 2002 17:38:03 -0400


Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv22895

Modified Files:
	Common.py 
Log Message:
Only initialize the message attribute in the base class.


=== Packages/ZConfig/Common.py 1.1 => 1.2 ===
--- Packages/ZConfig/Common.py:1.1	Tue Oct  8 17:42:17 2002
+++ Packages/ZConfig/Common.py	Thu Oct 10 17:38:03 2002
@@ -42,7 +42,6 @@
 
 class ConfigurationSyntaxError(ConfigurationError):
     def __init__(self, msg, url, lineno):
-        self.message = msg
         self.url = url
         self.lineno = lineno
         ConfigurationError.__init__(self, msg)
@@ -53,7 +52,6 @@
 
 class ConfigurationTypeError(ConfigurationError):
     def __init__(self, msg, found, expected):
-        self.message = msg
         self.found = found
         self.expected = expected
         ConfigurationError.__init__(self, msg)