Edgewall Software

Ticket #6747: space_after_to.diff

File space_after_to.diff, 2.1 KB (added by mark.m.mcmahon@…, 4 years ago)

patch to add a space after to %s

  • default_workflow.py

     
    100100    workflow defined in the TracIni configuration file, inside the 
    101101    [ticket-workflow] section. 
    102102    """ 
    103      
     103 
    104104    def __init__(self, *args, **kwargs): 
    105105        Component.__init__(self, *args, **kwargs) 
    106106        self.actions = get_workflow_config(self.config) 
     
    139139 
    140140Your environment has been upgraded, but configured to use the original 
    141141workflow. It is recommended that you look at changing this configuration to use 
    142 basic-workflow.  
     142basic-workflow. 
    143143 
    144144Read TracWorkflow for more information (don't forget to 'wiki upgrade' as well) 
    145145 
     
    187187            all_status.add(action_info['newstate']) 
    188188        all_status.discard('*') 
    189189        return all_status 
    190          
     190 
    191191    def render_ticket_action_control(self, req, ticket, action): 
    192192        from trac.ticket import model 
    193193 
    194194        self.log.debug('render_ticket_action_control: action "%s"' % action) 
    195195 
    196196        this_action = self.actions[action] 
    197         status = this_action['newstate']         
     197        status = this_action['newstate'] 
    198198        operations = this_action['operations'] 
    199199 
    200200        control = [] # default to nothing 
     
    221221                                                     name=id, value=owner)])) 
    222222                hints.append(_("The owner will change")) 
    223223            elif len(owners) == 1: 
    224                 control.append(tag('to %s' % owners[0])) 
     224                control.append(tag('to %s ' % owners[0])) 
    225225                hints.append(_("The owner will change to %s") % owners[0]) 
    226226            else: 
    227227                control.append(tag([_("to "), tag.select( 
     
    315315 
    316316    # Public methods (for other ITicketActionControllers that want to use 
    317317    #                 our config file and provide an operation for an action) 
    318      
     318 
    319319    def get_actions_by_operation(self, operation): 
    320320        """Return a list of all actions with a given operation 
    321321        (for use in the controller's get_all_status())