[game-data-packager] 01/01: babel: ignore packages with better version

Alexandre Detiste detiste-guest at moszumanska.debian.org
Fri Aug 28 07:57:50 UTC 2015


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 04879085fbcd573866111904de8504bed8421a03
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Fri Aug 28 09:57:35 2015 +0200

    babel: ignore packages with better version
---
 tools/babel.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tools/babel.py b/tools/babel.py
index cbc501c..424187a 100755
--- a/tools/babel.py
+++ b/tools/babel.py
@@ -45,7 +45,8 @@ for name, game in load_games().items():
                     stats[m_lang] = '*'
         if GameData.fill_gaps(game, package=package,
                  log=False) is FillResult.IMPOSSIBLE:
-             fullfree = False
+             if package.better_version is None:
+                 fullfree = False
         else:
              somefree = True
 
@@ -55,7 +56,7 @@ for name, game in load_games().items():
     stats['longname'] = ascii_safe(game.longname, force=True)
     stats['total'] = len(game.packages)
     stats['missing_langs'] = game.missing_langs
-    stats['fullfree'] = fullfree or name == 'dreamweb' #XXX
+    stats['fullfree'] = fullfree
     stats['somefree'] = somefree
     stats['url_steam'] = game.url_steam
     stats['url_gog'] = game.url_gog

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