[game-data-packager] 02/16: GameData: do not parse packages that have been disabled at all
Simon McVittie
smcv at debian.org
Fri Jan 8 09:14:01 UTC 2016
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 b3b8d2e807b3878a6fb531c9cd93b9a61958cbaa
Author: Simon McVittie <smcv at debian.org>
Date: Thu Jan 7 07:35:10 2016 +0000
GameData: do not parse packages that have been disabled at all
Not all of them pass our syntax checks, which means they can't be
loaded in DEBUG mode.
---
game_data_packager/__init__.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 98989e6..fcea3b6 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -585,9 +585,7 @@ class GameData(object):
assert 'sha1sums' not in data, binary
assert 'sha256sums' not in data, binary
- if ('DISABLED' in data and
- not (os.environ.get('DEBUG') or
- os.environ.get('GDP_DEBUG'))):
+ if 'DISABLED' in data:
continue
package = self.construct_package(binary)
self.packages[binary] = 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