Re: [Zope-dev] cvs checkin?

2001-04-16 Thread Jonothan Farr
if find(v,'\r') = 0: v=join(split(v,'\r'),'') -if find(v,'\n') = 0: v=join(split(v,'\n'),'br\n') +if find(v,'\n') = 0: v=join(split(v,'\n'),'br /\n') Out of curiosity, what is the reason for using join(split(...)) instead of just replace()? Is it really faster or something?

Re: [Zope-dev] FTP error messages

2001-02-20 Thread Jonothan Farr
I've now added the ability to set the message to be sent back to the FTP client on FTPResponse. The patch is attached. We'll be using it and I hope that it, or something similar, makes it into the 2.3.1. Try submitting it to the collector. It's likely to get lost on the mailing list. --jfarr

[Zope-dev] Is manage_add for products broken?

2001-01-22 Thread Jonothan Farr
Hello all, One of the Local File System users pointed out that calling manage_addLocalFS from dtml doesn't work. I did some checking and discovered that calling manage_addXXX doesn't work for any of the built-in products either. My testing was with 2.2.5. Am I crazy or didn't this work at one

[Zope-dev] Re: possible bug in dtml-in

2000-06-22 Thread Jonothan Farr
You want sequence-end, not sequence-last. That just bit me yesterday. ;) --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 - Original Message - From: Federico Di Gregorio [EMAIL PROTECTED] To: Zope Dev [EMAIL PROTECTED] Sent: Thursday, June 22,

Re: [Zope-dev] Cataloging LocalFS content

2000-05-30 Thread Jonothan Farr
I think, cataloging "LocalFS" content would be nice. I have the following problems with it: 1. "LocalFS" defines various meta types: "Local File System", "Local Directory" and "Local File". Only "Local File System" is a "true" meta type which should appear in the available

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Jonothan Farr
Just curious. How do you do diffs? How do you resolve conflicts? How do you handle login/logout? --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Jonothan Farr
Good questions! You can just go to the 'admin' tab and type 'diff'. The admin tab lets you execute just about any cvs command with arguments stat, rtag etc etc. Doing a diff on a zexp file isn't going to be very helpful, though. Any thoughts on integrating some sort of xml diff