Edgewall Software

Ticket #5478: patch-report.py-from-9162.diff

File patch-report.py-from-9162.diff, 647 bytes (added by elnur <elnur.home@…>, 2 years ago)

Adds a missing % sign.

  • trac/ticket/report.py

     
    565565                                 limit=0, offset=0): 
    566566        sql, args, missing_args = self.sql_sub_vars(sql, args, db) 
    567567        if not sql: 
    568             raise TracError(_('Report {(num)s} has no SQL query.', num=id)) 
     568            raise TracError(_('Report {%(num)s} has no SQL query.', num=id)) 
    569569        self.log.debug('Executing report with SQL "%s"' % sql) 
    570570        self.log.debug('Request args: %r' % req.args) 
    571571        cursor = db.cursor()