Changeset 219


Ignore:
Timestamp:
09/26/08 17:44:46 (16 years ago)
Author:
bas
Message:

email2trac.py.in:

  • see Changelog and closed ticket #89
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r218 r219  
    2121    Fixed by: Bas van der Vlies
    2222
     23  * If a blank email is sent with just an attachment, a blank
     24    comment is appended to the comments. fixed closes #89
     25
     26    Reported/Fixed by: ???
     27    Applied by: Bas van der Vlies
    2328
    24292008-05-30
  • trunk/email2trac.py.in

    r218 r219  
    628628                        body_text = u"%s\r\n%s" %(head, body_text)
    629629
    630                 tkt.save_changes(self.author, body_text, when)
     630                if body_text.strip():
     631                        tkt.save_changes(self.author, body_text, when)
     632
    631633                tkt['id'] = ticket_id
    632634
     
    783785
    784786                if self.DEBUG > 1:        # save the entire e-mail message text
    785                         self.save_email_for_debug(m)
     787                        self.save_email_for_debug(m, True)
    786788                        self.debug_attachments(m)
    787789
Note: See TracChangeset for help on using the changeset viewer.