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 563a6424254e2070e1d97b55efc744c79dce1716 Author: Simon McVittie <[email protected]> Date: Thu Apr 30 10:41:00 2015 +0100 Allow debian.replaces, debian.provides etc. to be a list --- game_data_packager/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py index 85149f2..e481348 100644 --- a/game_data_packager/__init__.py +++ b/game_data_packager/__init__.py @@ -1990,8 +1990,14 @@ class GameData(object): for value in control[field].split(','): result.add(value.strip()) value = package.debian.get(field.lower()) - if value: + if isinstance(value, str): result.add(value) + elif isinstance(value, list): + for x in value: + result.add(x) + elif value is not None: + raise AssertionError('%s: debian.%s should be str or list' % + (package.name, field.lower())) return result depends = read_control_set(package, control, 'Depends') -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

