diff roundup/scripts/roundup_mailgw.py @ 2256:0b198ed096af

fixes for py2.1 (booleans, sigh)
author Richard Jones <richard@users.sourceforge.net>
date Thu, 06 May 2004 01:12:24 +0000
parents 272b654b1227
children 3be606e3f58e b48fcae8b2ad
line wrap: on
line diff
--- a/roundup/scripts/roundup_mailgw.py	Thu May 06 01:03:01 2004 +0000
+++ b/roundup/scripts/roundup_mailgw.py	Thu May 06 01:12:24 2004 +0000
@@ -14,7 +14,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: roundup_mailgw.py,v 1.14 2004-04-13 04:14:03 richard Exp $
+# $Id: roundup_mailgw.py,v 1.15 2004-05-06 01:12:24 richard Exp $
 
 """Command-line script stub that calls the roundup.mailgw.
 """
@@ -162,9 +162,9 @@
             m = re.match(r'((?P<user>[^:]+)(:(?P<pass>.+))?@)?(?P<server>.+)',
                 specification)
             if m:
-                ssl = False
+                ssl = 0
                 if source == 'imaps':
-                    ssl = True
+                    ssl = 1
                 mailbox = ''
                 if len(args) > 3:
                     mailbox = args[3]

Roundup Issue Tracker: http://roundup-tracker.org/