[Checkins] SVN: zope.component/tseaver-test_cleanup/ Coverage.
Tres Seaver
cvs-admin at zope.org
Fri Jun 22 17:09:07 UTC 2012
Log message for revision 127035:
Coverage.
Changed:
_U zope.component/tseaver-test_cleanup/
U zope.component/tseaver-test_cleanup/src/zope/component/_api.py
-=-
Modified: zope.component/tseaver-test_cleanup/src/zope/component/_api.py
===================================================================
--- zope.component/tseaver-test_cleanup/src/zope/component/_api.py 2012-06-22 17:08:59 UTC (rev 127034)
+++ zope.component/tseaver-test_cleanup/src/zope/component/_api.py 2012-06-22 17:09:04 UTC (rev 127035)
@@ -149,7 +149,7 @@
def adapter_hook(interface, object, name='', default=None):
try:
sitemanager = getSiteManager()
- except ComponentLookupError:
+ except ComponentLookupError: #pragma NO COVER w/o context, cannot test
# Oh blast, no site manager. This should *never* happen!
return None
return sitemanager.queryAdapter(object, interface, name, default)
More information about the checkins
mailing list