changeset 345:09fbcb96d409

make popgw use the Message interface
author Richard Jones <richard@users.sourceforge.net>
date Thu, 01 Nov 2001 22:09:36 +0000
parents 7d83d1401ac3
children 8ddc718c97b8
files roundup-popgw
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/roundup-popgw	Thu Nov 01 22:07:11 2001 +0000
+++ b/roundup-popgw	Thu Nov 01 22:09:36 2001 +0000
@@ -16,7 +16,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: roundup-popgw,v 1.1 2001-11-01 22:07:11 richard Exp $
+# $Id: roundup-popgw,v 1.2 2001-11-01 22:09:36 richard Exp $
 
 import sys
 if int(sys.version[0]) < 2:
@@ -51,10 +51,13 @@
     for j in M.retr(i+1)[1]:
         s = cStringIO.StringIO('\n'.join(j))
         s.seek(0)
-        handler.main(s)
+        handler.handle_Message(Message(s))
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.1  2001/11/01 22:07:11  richard
+# Completely untested pop gateway. It's a start.
+#
 #
 #
 # vim: set filetype=python ts=4 sw=4 et si

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