diff options
Diffstat (limited to 'Mailman/Message.py')
| -rw-r--r-- | Mailman/Message.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Mailman/Message.py b/Mailman/Message.py index f694b343d..bb7d90809 100644 --- a/Mailman/Message.py +++ b/Mailman/Message.py @@ -19,7 +19,16 @@ import sys -import rfc822, string, time +import string +import time + +# get our hacked copy of Python 1.5.2's rfc822.py +import rfc822 +try: + rfc822.Message.getallrecipients +except AttributeError: + # the standard module doesn't have our enhancement + from Mailman.pythonlib import rfc822 # Utility functions 2 of these classes use: |
