Hi everybody,

I have found a strange problem in Worldpilot 1.1.0 alpha.

Basically, I was not able to see a message, because the function that
performs the parsing of the message (namely, the CreateStruct) was
unable to cope with an empty string.

I have traced the problem to the QuotedString expression in WPUtil.

I have changed it from:

QuotedString = re.compile(r'\s*"(?P<String>.*?[^\\](?="))"(?P<Rest>.*)')


QuotedString =

and it started working regularly.

It is ok that an IMAP server return an empty string ? Or it should give
back a NIL value ?

If so, perhaps is a bug in courier IMAP.

Many thanks for the answers.


Paolo Bizzarri - Responsabile Marketing  I3 Icube Srl
Sede:   Via Ridolfi 15 - 56124 Pisa (PI), Italia 
E-mail: [EMAIL PROTECTED]             WWW: www.icube.it       
Tel:    (+39) 050 97 02 07              Fax: (+39) 050 31 36 588

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to