Changeset 530


Ignore:
Timestamp:
06/30/11 11:46:55 (9 years ago)
Author:
bas
Message:

updated fix for ticket update fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r529 r530  
    733733        #
    734734        sys_dict = dict()
     735        sys_field_list = list()
     736
    735737        for field in ticket.fields:
     738
     739            sys_field_list.append(field['name'])
     740
    736741            try:
    737742                sys_dict[field['name']] = field['options']
     
    750755                self.print_unicode(s)
    751756
    752             if not field in ticket.fields
     757            if not field in sys_field_list
    753758                self.logger.debug('%s is not a valid field for tickets' %(field))
    754759                continue
Note: See TracChangeset for help on using the changeset viewer.