[Zope-CVS] CVS: Packages/ZConfig - Config.py:1.2
Chris McDonough
chrism@zope.com
Wed, 9 Oct 2002 00:33:40 -0400
Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv7111
Modified Files:
Config.py
Log Message:
Fixed two invocations of "raise ValeuError" instead of "raise ValueError".
=== Packages/ZConfig/Config.py 1.1 => 1.2 ===
--- Packages/ZConfig/Config.py:1.1 Tue Oct 8 17:42:17 2002
+++ Packages/ZConfig/Config.py Wed Oct 9 00:33:38 2002
@@ -35,7 +35,7 @@
if section.name:
self.addNamedSection(section)
elif not section.type:
- raise ValeuError("'type' must be specified")
+ raise ValueError("'type' must be specified")
self._sections.append(section)
def addNamedSection(self, section):
@@ -43,7 +43,7 @@
name = section.name
type = section.type
if not type:
- raise ValeuError("'type' must be specified")
+ raise ValueError("'type' must be specified")
key = type, name
child = self._sections_by_name.get(key)
if child is None or child.url != self.url: