1. edgewall
  2. Trac

Commits

Christian Boos  committed a7b617d

1.0.2dev: yet another glitch fixed for the ticket action hints (#10642)

  • Participants
  • Parent commits 2064472
  • Branches 1.0-stable

Comments (0)

Files changed (1)

File trac/ticket/default_workflow.py

View file
         else:
             if status != '*':
                 hints.append(_("Next status will be '%(name)s'", name=status))
-        return (this_action['name'], tag(*control), '. '.join(hints) + ".")
+        return (this_action['name'], tag(*control), '. '.join(hints) + '.'
+                if hints else '')
 
     def get_ticket_changes(self, req, ticket, action):
         this_action = self.actions[action]