[game-data-packager] 02/10: Assert that each package wants to install at least one non-free file
Simon McVittie
smcv at debian.org
Sun Jan 4 18:34:48 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 acebebf0e9a664f74f98d84988b0be3380f35653
Author: Simon McVittie <smcv at debian.org>
Date: Sat Jan 3 20:11:09 2015 +0000
Assert that each package wants to install at least one non-free file
If it didn't, there'd be no point in using game-data-packager.
---
lib/game_data_packager/__init__.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/game_data_packager/__init__.py b/lib/game_data_packager/__init__.py
index 7acf835..0f20856 100644
--- a/lib/game_data_packager/__init__.py
+++ b/lib/game_data_packager/__init__.py
@@ -354,6 +354,8 @@ class GameData(object):
# consistency check
for package in self.packages.values():
+ # there had better be something it wants to install
+ assert package.install, package.name
for installable in package.install:
assert installable in self.files, installable
--
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