Commits

Anonymous committed 717ae7c

[svn r12105] 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.

Comments (0)

Files changed (1)

trunk/tracrpc/ticket.py

                     label, widget, hint = \
                         controller.render_ticket_action_control(req, t, action)
                     fragment += widget
-                    hints.append(hint)
+                    hints.append(hint.rstrip('.') + '.')
                     first_label = first_label == None and label or first_label
             controls = []
             for elem in fragment.children:
                             value = option
                     controls.append((elem.attrib.get('name'),
                                     value, options))
-            actions.append((action, first_label, ". ".join(hints) + '.', controls))
+            actions.append((action, first_label, " ".join(hints), controls))
         return actions
 
     def get(self, req, id):