[game-data-packager] 01/01: HTML page: fix regression in footer record

Alexandre Detiste detiste-guest at moszumanska.debian.org
Tue May 2 15:06:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit ce703821e456399f556ec0e1371f8ec58cbe50ae
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Tue May 2 17:05:42 2017 +0200

    HTML page: fix regression in footer record
---
 tools/babel.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/tools/babel.py b/tools/babel.py
index fbb9b36..60338ff 100755
--- a/tools/babel.py
+++ b/tools/babel.py
@@ -248,14 +248,13 @@ for game in games:
     html.write('</tr>\n')
 
 # TOTAL
-html.write('<tr><td colspan=%d><b>Total</b></td>\n' % len(SHOPS))
+html.write('<tr><td colspan=4><b>Total</b></td>\n')
 for lang in langs_order:
     html.write('  <td><b>%i</b></td>\n' % langs[lang])
 
 html.write('  <td><b>%i</b></td>\n' % demos)
 
-html.write('''
-<td colspan=4> </td>
+html.write('''<td colspan=%s> </td>
 </tr>
 </table>
 <ul>
@@ -264,7 +263,7 @@ html.write('''
 </ul>
 </body>
 </html>
-'''
+''' % len(SHOPS)
 )
 
 html.close()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list