You don't need to compile python files. Shutting down and restarting Zope will (should) use your changes.
-----Original Message----- From: Jay, Dylan [SMTP:djay@lucent.com] Sent: Friday, April 16, 1999 1:24 PM To: 'zope@zope.org' Cc: 'Michel Pelletier' Subject: RE: [Zope] = replaced with == in sendmail!!!!!
-----Original Message----- From: Paulo Eduardo Neves [mailto:neves@inf.puc-rio.br] Sent: Friday, 16 April 1999 12:06 To: Jay, Dylan Cc: 'Michel Pelletier'; 'zope@zope.org' Subject: Re: [Zope] = replaced with == in sendmail!!!!!
"Jay, Dylan" wrote:
I couldn't get it to work but I'm pretty sure it wouldn't anyway. I had a look at the MailHost code and found some quoting stuff that if I knew more about python I might be able to do work out the problem with.
From using http://cie.motor.ru/RFC/1521/6.html as a reference to quoted-printable encoding it seems that '=' should be encoded as '=75' not '==' and hence the code is wrong.
So changing function 'quote' in the MailHost file to
def quote(c): i = ord(c) return ESCAPE + HEX[i/16] + HEX[i%16]
should work. If only I could work out how to compile python files...
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )