[Zope-Checkins] CVS: StandaloneZConfig/ZConfig - __init__.py:1.15

Fred L. Drake, Jr. fred at zope.com
Wed Feb 11 16:19:25 EST 2004


Update of /cvs-repository/StandaloneZConfig/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv20592/ZConfig

Modified Files:
	__init__.py 
Log Message:
remove two more exceptions which are not used; these are a holdover from
an older ZConfig API which has not been supported for some time


=== StandaloneZConfig/ZConfig/__init__.py 1.14 => 1.15 ===
--- StandaloneZConfig/ZConfig/__init__.py:1.14	Wed Feb 11 16:06:58 2004
+++ StandaloneZConfig/ZConfig/__init__.py	Wed Feb 11 16:18:54 2004
@@ -87,26 +87,6 @@
         return s
 
 
-class ConfigurationMissingSectionError(ConfigurationError):
-    def __init__(self, type, name=None):
-        self.type = type
-        self.name = name
-        details = 'Missing section (type: %s' % type
-        if name is not None:
-            details += ', name: %s' % name
-        ConfigurationError.__init__(self, details + ')')
-
-
-class ConfigurationConflictingSectionError(ConfigurationError):
-    def __init__(self, type, name=None):
-        self.type = type
-        self.name = name
-        details = 'Conflicting sections (type: %s' % type
-        if name is not None:
-            details += ', name: %s' % name
-        ConfigurationError.__init__(self, details + ')')
-
-
 class ConfigurationSyntaxError(_ParseError):
     """Raised when there's a syntax error in a configuration file."""
 




More information about the Zope-Checkins mailing list