Changeset 287


Ignore:
Timestamp:
10/14/09 13:54:21 (12 years ago)
Author:
bas
Message:

email2trac.py.in:

  • added var self.email_name. Now we can use the name and email address and decide which we use for reporter field ticket
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r284 r287  
    127127                # Some useful mail constants
    128128                #
    129                 self.author = None
     129                self.email_name = None
    130130                self.email_addr = None
    131131                self.email_from = None
    132                 self.id = None
     132                self.author     = Nome
     133                self.id         = None
    133134
    134135                self.VERSION = version
     
    441442
    442443                self.email_from = self.email_to_unicode(message['from'])
    443                 self.author, self.email_addr  = email.Utils.parseaddr(self.email_from)
     444                self.email_name, self.email_addr  = email.Utils.parseaddr(self.email_from)
    444445
    445446                # Trac can not handle author's name that contains spaces
Note: See TracChangeset for help on using the changeset viewer.