[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][deploy] 2 commits: show_deferred.py: pass tuple to `%` formatting operator



Title: GitLab

Ansgar pushed to branch deploy at Debian FTP Team / dak

Commits:

1 changed file:

Changes:

  • dak/show_deferred.py
    ... ... @@ -107,7 +107,7 @@ def table_row(changesname, delay, changed_by, closes, fingerprint):
    107 107
         global row_number
    
    108 108
     
    
    109 109
         res = '<tr class="%s">' % ((row_number % 2) and 'odd' or 'even')
    
    110
    -    res += (2 * '<td valign="top">%s</td>') % (html.escape(x, quote=False) for x in (changesname, delay))
    
    110
    +    res += (2 * '<td valign="top">%s</td>') % tuple(html.escape(x, quote=False) for x in (changesname, delay))
    
    111 111
         res += '<td valign="top">%s<br><span class=\"deferredfp\">Fingerprint: %s</span></td>' % (html.escape(changed_by, quote=False), fingerprint)
    
    112 112
         res += ('<td valign="top">%s</td>' %
    
    113 113
                  ''.join(['<a href="">#%s</a><br>' % (close, close) for close in closes]))
    


  • Reply to: