Skip to content

Commit 16318ff

Browse files
author
Jürgen Hermann
committed
Cleaned up strange import (less pollution, too)
1 parent b31b1cb commit 16318ff

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

roundup-mailgw

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: roundup-mailgw,v 1.15 2001-11-30 13:16:37 rochecompaan Exp $
19+
# $Id: roundup-mailgw,v 1.16 2001-11-30 18:23:55 jhermann Exp $
2020

2121
import sys, os, re, cStringIO
2222
if int(sys.version[0]) < 2:
2323
print "Roundup requires Python 2.0 or newer."
2424
sys.exit(1)
2525

26-
from roundup import mailgw
27-
Message = mailgw.Message
26+
from roundup.mailgw import Message
2827

2928
def do_pipe(handler):
3029
'''Read a message from standard input and pass it to the mail handler.
@@ -169,6 +168,11 @@ if __name__ == '__main__':
169168

170169
#
171170
# $Log: not supported by cvs2svn $
171+
# Revision 1.15 2001/11/30 13:16:37 rochecompaan
172+
# Fixed bug. Mail gateway was not using the extended Message class
173+
# resulting in failed submissions when mails were processed from a Unix
174+
# mailbox
175+
#
172176
# Revision 1.14 2001/11/13 21:44:44 richard
173177
# . re-open the database as the author in mail handling
174178
#

0 commit comments

Comments
 (0)