From: richard Date: Thu, 1 Nov 2001 22:09:36 +0000 (+0000) Subject: make popgw use the Message interface X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=263590ed128d584dbb3d5d2c27138f1a3a3389f8;p=roundup.git make popgw use the Message interface git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@356 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup-popgw b/roundup-popgw index 4cf6901..f3dd236 100644 --- a/roundup-popgw +++ b/roundup-popgw @@ -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 i in range(numMessages): 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