[Zope3-checkins]
SVN: Zope3/branches/srichter-blow-services/src/zope/app/module/__init__.py
Fixed bug in module code.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Feb 4 12:55:08 EST 2005
Log message for revision 29040:
Fixed bug in module code.
Changed:
U Zope3/branches/srichter-blow-services/src/zope/app/module/__init__.py
-=-
Modified: Zope3/branches/srichter-blow-services/src/zope/app/module/__init__.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/module/__init__.py 2005-02-04 17:54:16 UTC (rev 29039)
+++ Zope3/branches/srichter-blow-services/src/zope/app/module/__init__.py 2005-02-04 17:55:08 UTC (rev 29040)
@@ -31,7 +31,8 @@
def findModule(self, name):
"""See zodbcode.interfaces.IPersistentModuleImportRegistry"""
- return zapi.queryUtility(IModuleManager, name)
+ manager = zapi.queryUtility(IModuleManager, name)
+ return manager and manager.getModule() or manager
def modules(self):
"""See zodbcode.interfaces.IPersistentModuleImportRegistry"""
More information about the Zope3-Checkins
mailing list