Changeset 220
- Timestamp:
- 10/09/08 16:28:02 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/email2trac.py.in
r219 r220 581 581 # Must we update ticket fields 582 582 # 583 update_ tkt_fields = dict()583 update_fields = dict() 584 584 try: 585 585 nr, keywords = string.split(result.group('ticketnr_fields'), '?') 586 update_ tkt_fields = self.str_to_dict(keywords)586 update_fields = self.str_to_dict(keywords) 587 587 588 588 # Strip '#' … … 611 611 return False 612 612 613 # Must we update some ticket fields properties 614 # 615 if update_tkt_fields: 616 self.update_ticket_fields(tkt, update_tkt_fields) 617 618 body_text = self.get_body_text(m) 619 620 # reopen the ticket if is was closed 613 # reopen the ticket if it is was closed 614 # We must use the ticket workflow framework 621 615 # 622 616 if tkt['status'] in ['closed']: 623 617 tkt['status'] = 'reopened' 624 618 tkt['resolution'] = '' 619 620 # Must we update some ticket fields properties 621 # 622 if update_fields: 623 self.update_ticket_fields(tkt, update_fields) 624 625 body_text = self.get_body_text(m) 625 626 626 627 if self.EMAIL_HEADER:
Note: See TracChangeset
for help on using the changeset viewer.