[game-data-packager] 03/08: fill_docs: sort license files if there are multiple

Simon McVittie smcv at debian.org
Thu Nov 3 00:03:54 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 53b8f3be02ae6789e3da9197396c2aa76698a68a
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Nov 2 20:22:51 2016 +0000

    fill_docs: sort license files if there are multiple
---
 game_data_packager/build.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 979316f..5250ad4 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1201,11 +1201,11 @@ class PackagingTask(object):
                 o.write('It contains proprietary game data '
                         'that may be redistributed\n'
                         'only under conditions specified in\n')
-                o.write(',\n'.join(licenses) + '.\n\n')
+                o.write(',\n'.join(sorted(licenses)) + '.\n\n')
             else:
                 o.write('It contains free game data and may be\n'
                         'redistributed under conditions specified in\n')
-                o.write(',\n'.join(licenses) + '.\n\n')
+                o.write(',\n'.join(sorted(licenses)) + '.\n\n')
 
 
             notice = package.copyright_notice or self.game.copyright_notice

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