From bb835e0d61023942892626bcb734862d33cd5278 Mon Sep 17 00:00:00 2001 From: jhermann Date: Fri, 30 Nov 2001 18:23:55 +0000 Subject: [PATCH] Cleaned up strange import (less pollution, too) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@439 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup-mailgw | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/roundup-mailgw b/roundup-mailgw index f31da5e..94623c5 100755 --- a/roundup-mailgw +++ b/roundup-mailgw @@ -16,15 +16,14 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundup-mailgw,v 1.15 2001-11-30 13:16:37 rochecompaan Exp $ +# $Id: roundup-mailgw,v 1.16 2001-11-30 18:23:55 jhermann Exp $ import sys, os, re, cStringIO if int(sys.version[0]) < 2: print "Roundup requires Python 2.0 or newer." sys.exit(1) -from roundup import mailgw -Message = mailgw.Message +from roundup.mailgw import Message def do_pipe(handler): '''Read a message from standard input and pass it to the mail handler. @@ -169,6 +168,11 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.15 2001/11/30 13:16:37 rochecompaan +# Fixed bug. Mail gateway was not using the extended Message class +# resulting in failed submissions when mails were processed from a Unix +# mailbox +# # Revision 1.14 2001/11/13 21:44:44 richard # . re-open the database as the author in mail handling # -- 2.30.2