[game-data-packager] 01/01: HTML: this tool doesn't need to know about pkging system

Alexandre Detiste detiste-guest at moszumanska.debian.org
Wed Jan 6 15:22:01 UTC 2016


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 e1afc567974687c36cd9aa4efa13b0770b9e9a46
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Wed Jan 6 16:21:25 2016 +0100

    HTML: this tool doesn't need to know about pkging system
---
 tools/babel.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tools/babel.py b/tools/babel.py
index b618e14..d813522 100755
--- a/tools/babel.py
+++ b/tools/babel.py
@@ -20,13 +20,11 @@
 
 from game_data_packager import (load_games)
 from game_data_packager.build import (FillResult)
-from game_data_packager.packaging import (get_native_packaging_system)
 
 games = []
 genres = dict()
 langs = dict()
 langs['total'] = 0
-packaging = get_native_packaging_system()
 
 for name, game in load_games().items():
     stats = dict()
@@ -46,7 +44,7 @@ for name, game in load_games().items():
             for m_lang in package.langs:
                 if m_lang not in stats:
                     stats[m_lang] = '*'
-        with game.construct_task(packaging=packaging) as task:
+        with game.construct_task() as task:
             if task.fill_gaps(package=package,
                      log=False) is FillResult.IMPOSSIBLE:
                  if package.better_version is None:

-- 
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