Changeset 86
- Timestamp:
- 02/27/08 14:59:54 (9 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
setup.py (modified) (1 diff)
-
turbomail/message.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/setup.py
r84 r86 73 73 license=license, 74 74 75 install_requires = [76 "uuid >= 1.30"77 ],78 79 75 extras_require = { 80 76 'turbogears': ["TurboMail-Gears >= 0.1"], -
trunk/turbomail/message.py
r85 r86 19 19 from email.Header import Header 20 20 21 from uuid import uuid1 as uuid21 from email.utils import make_msgid 22 22 23 23 import logging … … 34 34 35 35 def __init__(self, envelope, recipient, message): 36 self.id = str(uuid())36 self.id = make_msgid() 37 37 self.envelope = AddressList(envelope) 38 38 self.recipient = AddressList(recipient) … … 113 113 def id(self): 114 114 if not self._id or (self._processed and self._dirty): 115 self.__dict__['_id'] = str(uuid())115 self.__dict__['_id'] = make_msgid() 116 116 117 117 self._processed = False
