[game-data-packager] 05/05: Make --demo work again
Simon McVittie
smcv at debian.org
Wed Jan 21 16:15:14 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 69abf65ec76aa5843b9e566920f5acc654051678
Author: Simon McVittie <smcv at debian.org>
Date: Wed Jan 21 16:15:05 2015 +0000
Make --demo work again
---
lib/game_data_packager/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/game_data_packager/__init__.py b/lib/game_data_packager/__init__.py
index f2ea54b..4db7a5a 100644
--- a/lib/game_data_packager/__init__.py
+++ b/lib/game_data_packager/__init__.py
@@ -1972,7 +1972,8 @@ class GameData(object):
ready = set()
for package in possible:
- if package.demo_for and self.packages[package.demo_for] in possible:
+ if (not build_demos and package.demo_for and
+ self.packages[package.demo_for] in possible):
# no point in packaging the demo if we have the full
# version
logger.debug('will not produce "%s" because we have the '
--
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