[game-data-packager] 09/51: GameData: Print copyright in to_data

Simon McVittie smcv at debian.org
Fri Dec 29 01:23:34 UTC 2017


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 fe7bee2cfe44380f1185f0493b4ee8af65908887
Author: Simon McVittie <smcv at debian.org>
Date:   Tue Dec 26 16:57:25 2017 +0000

    GameData: Print copyright in to_data
    
    Signed-off-by: Simon McVittie <smcv at debian.org>
---
 game_data_packager/__init__.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index a5277a4..f6defdb 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -420,6 +420,13 @@ class GameData(object):
             ret['unknown_sha256s'] = sorted(unknown_sha256s)
 
         for k in (
+                'copyright',
+                ):
+            v = getattr(self, k)
+            if v is not None:
+                ret[k] = v
+
+        for k in (
                 'copyright_notice',
                 'help_text',
                 ):

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