Changeset 32


Ignore:
Timestamp:
Feb 22, 2010 4:55:09 PM (15 years ago)
Author:
retracile
Message:

Mergebot: handle tickets with a 'None' mergebotstate, such as those that exist before the plugin is installed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mergebot/trunk/mergebot/action_logic.py

    r17 r32  
    1919def is_branchable(ticket):
    2020    state = _get_mergebotstate(ticket)
    21     return state == "" or state == "merged"
     21    return state in [None, '', 'merged']
    2222
    2323def is_rebranchable(ticket):
Note: See TracChangeset for help on using the changeset viewer.