[Zope3-checkins] CVS: Zope3/src/zope/app/services -
registration.py:1.10
Fred L. Drake, Jr.
fred at zope.com
Wed Aug 13 16:44:28 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv25063
Modified Files:
registration.py
Log Message:
fix typo in comment
=== Zope3/src/zope/app/services/registration.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/services/registration.py:1.9 Thu Aug 7 16:27:39 2003
+++ Zope3/src/zope/app/services/registration.py Wed Aug 13 15:44:23 2003
@@ -562,7 +562,6 @@
"See IReadMapping"
return self.get(key) is not None
-
def keys(self):
"See IEnumerableMapping"
return [k for k, v in self._data]
@@ -726,13 +725,12 @@
if IModuleManager.isImplementedBy(manager):
return manager.getModule()
-
# See if out container is a RegistrationManagerContainer:
c = zapi.getWrapperContainer(self)
if interfaces.IRegistrationManagerContainer.isImplementedBy(c):
return c.findModule(name)
- # Use sys.modules in leu of module service:
+ # Use sys.modules in lieu of module service:
module = sys.modules.get(name)
if module is not None:
return module
More information about the Zope3-Checkins
mailing list