Changeset 401
- Timestamp:
- 07/15/10 16:41:21 (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/changelog
r400 r401 14 14 Authors: kris add tsampa dot org & Bas van der Vlies 15 15 16 * removed suppport for version 0.9 17 Author: Bas van der Vlies 18 16 19 -- Bas van der Vlies <basv@sara.nl> Thu, 15 Jul 2010 14:17:24 +0200 17 20 -
trunk/email2trac.py.in
r398 r401 919 919 body_text = self.body_text(message_parts) 920 920 921 if self.VERSION == 0.9: 922 error_with_attachments = self.attach_attachments(message_parts, True) 923 else: 924 error_with_attachments = self.attach_attachments(message_parts) 921 error_with_attachments = self.attach_attachments(message_parts) 925 922 926 923 if body_text.strip() or update_fields or self.properties: … … 1450 1447 # Attach attachments. 1451 1448 self.id = topic['id'] 1452 self.attach_attachments(context.content_parts, self.VERSION == 0.9)1449 self.attach_attachments(context.content_parts, True) 1453 1450 1454 1451 # Notify change listeners. … … 1476 1473 # Attach attachments. 1477 1474 self.id = message['topic'] 1478 self.attach_attachments(context.content_parts, self.VERSION == 0.9)1475 self.attach_attachments(context.content_parts, True) 1479 1476 1480 1477 # Notify change listeners. … … 2173 2170 2174 2171 try: 2175 if version == '0.9': 2176 from trac import attachment 2177 from trac.env import Environment 2178 from trac.ticket import Ticket 2179 from trac.web.href import Href 2180 from trac import util 2181 from trac.Notify import TicketNotifyEmail 2182 elif version == '0.10': 2172 if version == '0.10': 2183 2173 from trac import attachment 2184 2174 from trac.env import Environment
Note: See TracChangeset
for help on using the changeset viewer.