Ignore:
Timestamp:
07/21/06 14:46:50 (18 years ago)
Author:
bas
Message:

EmailtoTracScript?:

email2trac.py.in:

  • Fixed the reply_all bug
File:
1 edited

Legend:

Unmodified
Added
Removed
  • emailtotracscript/trunk/email2trac.py.in

    r103 r105  
    297297
    298298                        addrs = email.Utils.getaddresses(ccs)
     299                        if not addrs:
     300                                return
    299301
    300302                        # Remove reporter email address if notification is
     
    308310
    309311                        for name,mail in addrs:
    310                                         try:
    311                                                 mail_list = '%s,%s' %(mail_list, mail)
    312                                         except:
    313                                                 mail_list = mail
    314 
    315                         ticket['cc'] = self.to_unicode(mail_list)
     312                                try:
     313                                        mail_list = '%s,%s' %(mail_list, mail)
     314                                except:
     315                                        mail_list = mail
     316
     317                        if mail_list:
     318                                ticket['cc'] = self.to_unicode(mail_list)
    316319
    317320        def save_email_for_debug(self, message, tempfile=False):
Note: See TracChangeset for help on using the changeset viewer.