Changeset 444


Ignore:
Timestamp:
07/22/10 15:56:53 (14 years ago)
Author:
bas
Message:

ported TICKET_UPDATE to UserDict?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r442 r444  
    183183                        self.parameters.email_quote = '> '
    184184
    185                 if self.parameters.has_key('ticket_update_by_subject'):
    186                         self.TICKET_UPDATE_BY_SUBJECT = int(self.parameters['ticket_update_by_subject'])
    187                 else:
    188                         self.TICKET_UPDATE_BY_SUBJECT = 0
    189 
    190185                if self.parameters.has_key('ticket_update_by_subject_lookback'):
    191186                        self.TICKET_UPDATE_BY_SUBJECT_LOOKBACK = int(self.parameters['ticket_update_by_subject_lookback'])
     
    966961
    967962                matched_id = None
    968                 if self.parameters.ticket_update and self.TICKET_UPDATE_BY_SUBJECT:
     963                if self.parameters.ticket_update and self.parameters.ticket_update_by_subject:
    969964                               
    970965                        SUBJECT_RE = re.compile(r'^(RE|AW|VS|SV):(.*:)*\s*(.*)', re.IGNORECASE)
Note: See TracChangeset for help on using the changeset viewer.