[game-data-packager] 14/17: make-template: preserve full name of license files

Simon McVittie smcv at debian.org
Wed Dec 30 22:57:23 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 57e7680cef504cee585fa17b3f1ae56d6db8efe4
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Dec 30 15:32:29 2015 +0000

    make-template: preserve full name of license files
    
    It's easier to discard information than it is to recover it.
---
 game_data_packager/make_template.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py
index c0c53b7..fe2b35a 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -246,7 +246,6 @@ class GameData(object):
         if group is not None:
             group.group_members.add(out_name)
         elif is_license(path):
-            out_name = os.path.basename(out_name)
             self.licenses.group_members.add(out_name)
         elif is_doc(path):
             self.documentation.group_members.add(out_name)

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