Mercurial > p > roundup > code
comparison roundup/mailgw.py @ 287:ee2f4cb160bd
Implemented the comma-separated printing option in the admin tool.
Fixed a typo (more of a vim-o actually :) in mailgw.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 11 Oct 2001 23:43:04 +0000 |
| parents | 2313560b8477 |
| children | fd9835c1e58d |
comparison
equal
deleted
inserted
replaced
| 286:2313560b8477 | 287:ee2f4cb160bd |
|---|---|
| 70 set() method to add the message to the item's spool; in the second case we | 70 set() method to add the message to the item's spool; in the second case we |
| 71 are calling the create() method to create a new node). If an auditor raises | 71 are calling the create() method to create a new node). If an auditor raises |
| 72 an exception, the original message is bounced back to the sender with the | 72 an exception, the original message is bounced back to the sender with the |
| 73 explanatory message given in the exception. | 73 explanatory message given in the exception. |
| 74 | 74 |
| 75 $Id: mailgw.py,v 1.18 2001-10-11 06:38:57 richard Exp $ | 75 $Id: mailgw.py,v 1.19 2001-10-11 23:43:04 richard Exp $ |
| 76 ''' | 76 ''' |
| 77 | 77 |
| 78 | 78 |
| 79 import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri | 79 import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri |
| 80 import traceback | 80 import traceback |
| 214 | 214 |
| 215 # handle the args | 215 # handle the args |
| 216 args = m.group('args') | 216 args = m.group('args') |
| 217 if args: | 217 if args: |
| 218 for prop in string.split(args, ';'): | 218 for prop in string.split(args, ';'): |
| 219 Try: | 219 try: |
| 220 key, value = prop.split('=') | 220 key, value = prop.split('=') |
| 221 except ValueError, message: | 221 except ValueError, message: |
| 222 raise MailUsageError, ''' | 222 raise MailUsageError, ''' |
| 223 Subject argument list not of form [arg=value,value,...;arg=value,value...] | 223 Subject argument list not of form [arg=value,value,...;arg=value,value...] |
| 224 (specific exception message was "%s") | 224 (specific exception message was "%s") |
| 414 l.append(section) | 414 l.append(section) |
| 415 return summary, '\n'.join(l) | 415 return summary, '\n'.join(l) |
| 416 | 416 |
| 417 # | 417 # |
| 418 # $Log: not supported by cvs2svn $ | 418 # $Log: not supported by cvs2svn $ |
| 419 # Revision 1.18 2001/10/11 06:38:57 richard | |
| 420 # Initial cut at trying to handle people responding to CC'ed messages that | |
| 421 # create an issue. | |
| 422 # | |
| 419 # Revision 1.17 2001/10/09 07:25:59 richard | 423 # Revision 1.17 2001/10/09 07:25:59 richard |
| 420 # Added the Password property type. See "pydoc roundup.password" for | 424 # Added the Password property type. See "pydoc roundup.password" for |
| 421 # implementation details. Have updated some of the documentation too. | 425 # implementation details. Have updated some of the documentation too. |
| 422 # | 426 # |
| 423 # Revision 1.16 2001/10/05 02:23:24 richard | 427 # Revision 1.16 2001/10/05 02:23:24 richard |
