[Zope-dev] Re: [Checkins] SVN: Zope/branches/2.9/lib/python/
Replace bulk of uses of 'zLOG' with equivalent Python
'logging' module usage.
Stefan H. Holek
stefan at epy.co.at
Sun Jun 25 10:32:04 EDT 2006
This, BTW, breaks CMF 1.5 on Zope 2.9. Not sure I/you should care
though ;-)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope29-cmf15/Products/
CMFActionIcons/__init__.py", line 19, in ?
from Products.CMFCore.DirectoryView import registerDirectory
File "/home/stefan/autotest/temp/python24-zope29-cmf15/Products/
CMFCore/__init__.py", line 21, in ?
import MembershipTool, WorkflowTool, CatalogTool, DiscussionTool
File "/home/stefan/autotest/temp/python24-zope29-cmf15/Products/
CMFCore/CatalogTool.py", line 23, in ?
from Products.ZCatalog.ZCatalog import LOG
ImportError: cannot import name LOG
On 25. Jun 2006, at 00:45, Tres Seaver wrote:
> Modified: Zope/branches/2.9/lib/python/Products/ZCatalog/ZCatalog.py
> ===================================================================
> --- Zope/branches/2.9/lib/python/Products/ZCatalog/ZCatalog.py
> 2006-06-24 21:59:59 UTC (rev 68834)
> +++ Zope/branches/2.9/lib/python/Products/ZCatalog/ZCatalog.py
> 2006-06-24 22:45:20 UTC (rev 68835)
> @@ -37,7 +37,6 @@
> import PluggableIndexInterface
> from Products.PluginIndexes.interfaces import IPluggableIndex
> from Products.PluginIndexes.TextIndex import Splitter
> -from zLOG import LOG
> from zope.interface import implements
--
Anything that, in happening, causes something else to happen,
causes something else to happen. --Douglas Adams
More information about the Zope-Dev
mailing list