Log message for revision 30570:
Added test for strftime with unicode pattern.
Changed:
U Zope/branches/Zope-2_8-branch/lib/python/DateTime/tests/testDateTime.py
-=-
Modified:
Zope/branches/Zope-2_8-branch/lib/python/DateTime/tests/testDateTime.py
Log message for revision 30571:
Merged revision 30570 from Zope-2_8-branch:
Added test for strftime with unicode pattern.
Changed:
U Zope/trunk/lib/python/DateTime/tests/testDateTime.py
-=-
Modified: Zope/trunk/lib/python/DateTime/tests/testDateTime.py
Log message for revision 30572:
Collector # 1323: applied patch to fix umask handling in zdctl
Changed:
U zdaemon/trunk/zdctl.py
-=-
Modified: zdaemon/trunk/zdctl.py
===
--- zdaemon/trunk/zdctl.py 2005-05-31 16:00:54
Log message for revision 30573:
version for final Zope 2.8.0 release
Changed:
A zdaemon/tags/zdaemon-Zope-2-8-0/
-=-
Copied: zdaemon/tags/zdaemon-Zope-2-8-0 (from rev 30572, zdaemon/trunk)
___
Zope-Checkins maillist - Zope-Checkins@zope.org
Log message for revision 30574:
replacing local copy with external definition
Changed:
D Zope/trunk/lib/python/zdaemon/
-=-
___
Zope-Checkins maillist - Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins
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
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
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
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
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,
[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
[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
Hello,
Some time ago, I built zope from the sources and it worked well. Now I
prefer the way Debian easily offers instances and an init.d script.
I would like to uninstall the Zope from the source bt I can't find a
target for make to do an uninstall.
I have a googled for a while without
--On 31. Mai 2005 11:27:47 +0200 Rob Wilco [EMAIL PROTECTED] wrote:
Hello,
Some time ago, I built zope from the sources and it worked well. Now I
prefer the way Debian easily offers instances and an init.d script.
I would like to uninstall the Zope from the source bt I can't find a
target
Am Dienstag, den 31.05.2005, 11:27 +0200 schrieb Rob Wilco:
Hello,
Some time ago, I built zope from the sources and it worked well. Now I
prefer the way Debian easily offers instances and an init.d script.
recent zope versions have that as well (e.g = 2.7)
I would like to uninstall the
I want to provide a set of links on a Zope site dynamically. ie don't want
to hard code a number of links, but would like to load them from an
external source which I can add to independently, but I have no idea as to
how to set about it.
Any ideas?
I'd be quite happy to have the links in a
John Poltorak wrote:
I want to provide a set of links on a Zope site dynamically. ie don't want
to hard code a number of links, but would like to load them from an
external source which I can add to independently, but I have no idea as to
how to set about it.
Any ideas?
I'd be quite happy
On Tue, May 31, 2005 at 06:23:11PM +0300, Vital Lobachevsky wrote:
John Poltorak wrote:
I want to provide a set of links on a Zope site dynamically. ie don't want
to hard code a number of links, but would like to load them from an
external source which I can add to independently, but I
John Poltorak wrote:
On Tue, May 31, 2005 at 06:23:11PM +0300, Vital Lobachevsky wrote:
John Poltorak wrote:
I want to provide a set of links on a Zope site dynamically. ie don't want
to hard code a number of links, but would like to load them from an
external source which I can add to
John Poltorak wrote at 2005-5-31 16:39 +0100:
...
Many thanks for your suggestion.
Is there a worked example of doing this anywhere?
The CMF's ActionsTool is a prime example for such
a link factory. CMFDefaults main_template.pt demonstrates
how to iterate over the links generated by
KLEIN Stéphane wrote at 2005-5-31 00:13 +0200:
...
I've the same problem and now it's work with this tip :
context.REQUEST.image.seek(0).
My xImageScale.py [external method] is :
def xImageScale(img_file, maxx, maxy):
from PIL import Image
from cStringIO import StringIO
Andy Yates wrote at 2005-5-30 22:52 -0500:
...
When you fixed the TempStorage the leak indeed slowed down
significantly. However, Zope still leaks memory. If left uncheck Zope
will still consume all available memory and crash the server. We have
resigned ourselves to restarting Zope every few
I may be asking this in the wrong place but I have a tal page where I want
to use python to display only the most recent addition to a folder of files.
I can sort the folder and return all the files easily with:
return sequence.sort(files, (('bobobase_modification_time', 'cmp',
'desc'),))
How
sort() on a sequence does not return anything. It operates on the
[mutable] sequence in place.
You probably want to push this bit into a python script where you have
more elbow room, and do this:
files.sort(etc,etc)
return files[0]
hth,
Jim
-Original Message-
From: [EMAIL
Kate Legere wrote:
I may be asking this in the wrong place but I have a tal page where I want
to use python to display only the most recent addition to a folder of files.
I can sort the folder and return all the files easily with:
return sequence.sort(files, (('bobobase_modification_time',
John Poltorak wrote:
On Tue, May 31, 2005 at 07:17:46PM +0300, Vital Lobachevsky wrote:
John Poltorak wrote:
On Tue, May 31, 2005 at 06:23:11PM +0300, Vital Lobachevsky wrote:
Many thanks for your suggestion.
Is there a worked example of doing this anywhere?
There seem to be quite a few
Thanks - turns out the real error was in the file dealing with it - all
fixed now.
Thanks for the help.
Kate
-Original Message-
From: Jim Abramson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 31, 2005 2:38 PM
To: Kate Legere; Zope
Subject: RE: [Zope] python question
sort() on a
On Tue, May 31, 2005 at 08:54:30PM +0200, Dieter Maurer wrote:
John Poltorak wrote at 2005-5-31 16:39 +0100:
...
Many thanks for your suggestion.
Is there a worked example of doing this anywhere?
The CMF's ActionsTool is a prime example for such
a link factory. CMFDefaults
On Tue, May 31, 2005 at 02:51:18PM -0500, J Cameron Cooper wrote:
John Poltorak wrote:
Well, it's really easy. Create 'linkList' (Python Script) in the folder
where you page lives or somewhere higher in folder hierarchy:
## Script (Python) linkList
return [
('http://www.google.com/',
Am Dienstag, den 31.05.2005, 15:34 -0400 schrieb Kate Legere:
I may be asking this in the wrong place but I have a tal page where I want
to use python to display only the most recent addition to a folder of files.
I can sort the folder and return all the files easily with:
return
Am Dienstag, den 31.05.2005, 15:38 -0400 schrieb Jim Abramson:
sort() on a sequence does not return anything. It operates on the
[mutable] sequence in place.
sequence is a module in Zope. So she indeed was right.
___
Zope maillist - Zope@zope.org
blast!
i'll keep my mouth shut til I get the library memorized.
Jim
-Original Message-
From: Tino Wildenhain [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 31, 2005 4:06 PM
To: Jim Abramson
Cc: Kate Legere; Zope
Subject: RE: [Zope] python question
Am Dienstag, den 31.05.2005,
John Poltorak wrote:
On Tue, May 31, 2005 at 02:51:18PM -0500, J Cameron Cooper wrote:
John Poltorak wrote:
Well, it's really easy. Create 'linkList' (Python Script) in the folder
where you page lives or somewhere higher in folder hierarchy:
## Script (Python) linkList
return [
On Tue, May 31, 2005 at 03:08:36PM -0500, J Cameron Cooper wrote:
John Poltorak wrote:
Why did you put it in a File? Why not a Script (Python)?
I'm using a remote site and only have access via Zope's ZMI. Can I create
a script through that?
Certainly. It's in the dropdown. In
On 31.Mai 2005 - 20:47:20, John Poltorak wrote:
Thanks for the suggestion, but I really am a novice when it comes to all
this and you are probably presuming more expertise than I have.
Just a suggestion: Start reading the Zope Book (the latest version is on
35 matches
Mail list logo