[game-data-packager] 21/21: Don't build music packages with no music

Simon McVittie smcv at debian.org
Wed Jan 21 11:52:03 UTC 2015


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

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

commit f60c9fce78e334552cb2e2854f2fd619c4ab5692
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Jan 21 11:21:25 2015 +0000

    Don't build music packages with no music
---
 lib/game_data_packager/__init__.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/game_data_packager/__init__.py b/lib/game_data_packager/__init__.py
index b94d45e..e7fc8d9 100644
--- a/lib/game_data_packager/__init__.py
+++ b/lib/game_data_packager/__init__.py
@@ -1918,7 +1918,9 @@ class GameData(object):
                 self.rip_cd(rip_cd_packages.pop())
 
         for package in packages:
-            if self.fill_gaps(package,
+            if package.rip_cd and not self.cd_tracks.get(package.name):
+                logger.debug('no CD tracks found for %s', package.name)
+            elif self.fill_gaps(package,
                     log=log_immediately) is not FillResult.IMPOSSIBLE:
                 logger.debug('%s is possible', package.name)
                 possible.add(package)

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