Changeset 12105


Ignore:
Timestamp:
Oct 3, 2012, 7:08:16 PM (12 years ago)
Author:
osimons
Message:

XmlRpcPlugin: Trac adds fullstop to ticket action hints backend code since trac:changeset:11386, so now using a compatible handling that will be correct for all supported Trac versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xmlrpcplugin/trunk/tracrpc/ticket.py

    r10514 r12105  
    121121                        controller.render_ticket_action_control(req, t, action)
    122122                    fragment += widget
    123                     hints.append(hint)
     123                    hints.append(hint.rstrip('.') + '.')
    124124                    first_label = first_label == None and label or first_label
    125125            controls = []
     
    142142                    controls.append((elem.attrib.get('name'),
    143143                                    value, options))
    144             actions.append((action, first_label, ". ".join(hints) + '.', controls))
     144            actions.append((action, first_label, " ".join(hints), controls))
    145145        return actions
    146146
Note: See TracChangeset for help on using the changeset viewer.