[Zope3-checkins] CVS: ZODB3/ZConfig - loader.py:1.12 schema.py:1.12
Fred L. Drake, Jr.
fred@zope.com
Fri, 10 Jan 2003 01:39:19 -0500
Update of /cvs-repository/ZODB3/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv15812/ZConfig
Modified Files:
loader.py schema.py
Log Message:
Use a more reasonable name for a method; we only speak of schema components,
not schema packages.
=== ZODB3/ZConfig/loader.py 1.11 => 1.12 ===
--- ZODB3/ZConfig/loader.py:1.11 Fri Jan 10 01:23:45 2003
+++ ZODB3/ZConfig/loader.py Fri Jan 10 01:39:16 2003
@@ -135,7 +135,7 @@
# schema parser support API
- def schemaPackageInfo(self, package):
+ def schemaComponentInfo(self, package):
parts = package.split(".")
if not parts:
raise ZConfig.SchemaError(
=== ZODB3/ZConfig/schema.py 1.11 => 1.12 ===
--- ZODB3/ZConfig/schema.py:1.11 Thu Jan 9 00:42:28 2003
+++ ZODB3/ZConfig/schema.py Fri Jan 10 01:39:16 2003
@@ -257,7 +257,7 @@
# already loaded, or in progress
pass
else:
- pi = self._loader.schemaPackageInfo(pkg)
+ pi = self._loader.schemaComponentInfo(pkg)
if not pi:
self.error("could not locate schema component " + `pkg`)
self._components[pkg] = pi