Re: [Zope-dev] Re: [Checkins] SVN: Zope/branches/2.9/lib/python/ Replace bulk of uses of 'zLOG' with equivalent Python 'logging' module usage.

2006-06-25 Thread Andreas Jung



--On 25. Juni 2006 16:32:04 +0200 Stefan H. Holek [EMAIL PROTECTED] 
wrote:



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



Tres,

you replace all 'LOG' vars with 'logger'. Is there a reason for this 
replacement? We've been using LOG through out the complete Z2 core..we 
should remain consistent in some way.


Andreas


pgpcZ9MG72yfU.pgp
Description: PGP signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: Proposal: Scrap zpkg for Zope2 releases

2006-06-25 Thread Florent Guillaume

Tres Seaver wrote:

BTW, a small nit of mine with subversion:  can anybody tell me how to
find the revision in which a directory was moved / removed, preferably
via the web interface?  Subversion doesn't seem to expose a way to ask
about a name which, like the man upon the stair isn't there any more.


Something based on svn log -v, for instance:
  svn log -v | awk '/^(r|   D}/{print};'

Florent

--
Florent Guillaume, Nuxeo (Paris, France)   Director of RD
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )