[game-data-packager] 14/24: improve debug output
Simon McVittie
smcv at debian.org
Sat Jan 17 23:28:50 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 f93e76cf6114b90a46d289d5c2db1a15258cba1c
Author: Simon McVittie <smcv at debian.org>
Date: Sat Jan 17 22:22:35 2015 +0000
improve debug output
---
lib/game_data_packager/__init__.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/game_data_packager/__init__.py b/lib/game_data_packager/__init__.py
index 9afc70d..df79a1d 100644
--- a/lib/game_data_packager/__init__.py
+++ b/lib/game_data_packager/__init__.py
@@ -937,11 +937,14 @@ class GameData(object):
# updates file_status as a side-effect
self.fill_gap(package, wanted, download=download, log=log)
+ logger.debug('%s: %s', filename, self.file_status[filename])
+
if filename in package.install:
# it is mandatory
result &= self.file_status[filename]
self.package_status[package.name] = result
+ logger.debug('%s: %s', package.name, result)
return result
def consider_zip(self, name, zf, provider):
@@ -1702,6 +1705,8 @@ class GameData(object):
else:
raise NoPackagesPossible()
+ logger.debug('possible packages: %r', possible)
+
ready = set()
have_full = False
@@ -1734,6 +1739,7 @@ class GameData(object):
raise DownloadNotAllowed()
raise DownloadsFailed()
+ logger.debug('packages ready for building: %r', ready)
return ready
def build_packages(self, ready, destination, compress):
--
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