[game-data-packager] 12/12: When dumping to JSON, output empty depends as nothing, not set()

Simon McVittie smcv at debian.org
Wed Jan 6 12:47:00 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 bb49333a3b63b9b513e9b2a943270a5b0bfbca66
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Jan 6 12:41:44 2016 +0000

    When dumping to JSON, output empty depends as nothing, not set()
---
 game_data_packager/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 7989963..98989e6 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -395,6 +395,7 @@ class GameDataPackage(object):
         for k in (
                 'aliases',
                 'demo_for',
+                'depends',
                 'dotemu',
                 'gog',
                 'origin',
@@ -425,7 +426,6 @@ class GameDataPackage(object):
                 'better_version',
                 'copyright',
                 'copyright_notice',
-                'depends',
                 'description',
                 'disks',
                 'engine',

-- 
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