[Zope-dev] Re: [Zope-Checkins] CVS: Products/PluginIndexes/common - UnIndex.py:1.20.2.7

2005-05-31 Thread Chris Withers
Tres Seaver wrote: +if set is None: +set = IISet(()) +elif type(set) is IntType: # isinstance(set, int) for 2.8 How come isinstance is only to be used for 2.8? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [Zope-dev] Re: [Zope-Checkins] CVS: Products/PluginIndexes/common- UnIndex.py:1.20.2.7

2005-05-31 Thread SER.RI-TIC-Alexis Roda
Chris Withers wrote: Tres Seaver wrote: +if set is None: +set = IISet(()) +elif type(set) is IntType: # isinstance(set, int) for 2.8 How come isinstance is only to be used for 2.8? Hi, when I wrote the patch and the test case I tried to

Re: [Zope-dev] Re: mechanism for license boilerplate?

2005-05-31 Thread Jens Vagelpohl
On May 30, 2005, at 20:39, Chad Whitacre wrote: Thanks, that's what I figured. ;-) IIRC the last time I did something like that (moving CMF to ZPL 2.1) I wrote a python script to replace the text appropriately... sed and awk are also good tools for that when you're good at shell

Re: [Zope-dev] mechanism for license boilerplate?

2005-05-31 Thread Gary Poster
On May 30, 2005, at 3:06 PM, Andreas Jung wrote: --On 30. Mai 2005 12:35:22 -0400 Chad Whitacre [EMAIL PROTECTED] wrote: Dear all, I am wondering what mechanism the Zope team uses to manage the copyright/license boilerplate at the top of every file. Is this handled manually or is

[Zope-dev] Re: CMFSetup + ZopeTestCase interaction bug

2005-05-31 Thread Lennart Regebro
On 5/25/05, Lennart Regebro [EMAIL PROTECTED] wrote: When you use the installProduct command of ZopeTestCase on a product that has a CMFSetup profile you may get the following error: File /home/zopes/27test/Products/CMFSetup/registry.py, line 567, in registerProfile raise KeyError,

[Zope-dev] Re: [Zope-Checkins] SVN: Zope/trunk/ - Collector #1323: applied patch to fix umask problem in zdctl

2005-05-31 Thread Tim Peters
[Andreas Jung] Log message for revision 30558: - Collector #1323: applied patch to fix umask problem in zdctl Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/zdaemon/zdctl.py Andreas, Zope doesn't own zdaemon. zdaemon is (so far) *copied* into Zope from

[Zope-dev] Re: [Zope-Checkins] SVN: Zope/trunk/ - Collector #1323: applied patch to fix umask problem in zdctl

2005-05-31 Thread Tim Peters
[Andreas Jung] I thought Fred hooked zdaemon and ZConfig already as external definition. But apparently this happened only for ZConfig. That's correct; nothing about zdaemon has changed yet. Back on 13 May: [me] The first time ZConfig and zdaemon get tagged, it's important that whoever do