Mercurial > p > roundup > code
diff roundup/mailgw.py @ 2231:27ba128ab567
removed Boolean from source to make py <2.3 happy [SF#938790]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 20 Apr 2004 22:01:12 +0000 |
| parents | 272b654b1227 |
| children | dfce8454848d 42f69daa70b2 |
line wrap: on
line diff
--- a/roundup/mailgw.py Tue Apr 20 21:57:29 2004 +0000 +++ b/roundup/mailgw.py Tue Apr 20 22:01:12 2004 +0000 @@ -74,7 +74,7 @@ an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.148 2004-04-13 04:16:36 richard Exp $ +$Id: mailgw.py,v 1.149 2004-04-20 22:01:12 richard Exp $ """ __docformat__ = 'restructuredtext' @@ -368,7 +368,7 @@ fcntl.flock(f.fileno(), FCNTL.LOCK_UN) return 0 - def do_imap(self, server, user='', password='', mailbox='', ssl=False): + def do_imap(self, server, user='', password='', mailbox='', ssl=0): ''' Do an IMAP connection ''' import getpass, imaplib, socket
