[game-data-packager] 02/02: Remove now-unused variables

Simon McVittie smcv at debian.org
Tue Jan 5 10:18:24 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 fac00a0592b7a8711982c073cf3929e0120be2f4
Author: Simon McVittie <smcv at debian.org>
Date:   Tue Jan 5 10:17:48 2016 +0000

    Remove now-unused variables
    
    They aren't needed because their only purpose is covered by the usual
    "create the directory into which we are going to install a file" logic.
---
 game_data_packager/build.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 4489245..9c48648 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1556,9 +1556,6 @@ class PackagingTask(object):
         pkgdocdir = os.path.join('usr/share/doc', package.name)
         dest_pkgdocdir = os.path.join(destdir, pkgdocdir)
         mkdir_p(dest_pkgdocdir)
-        # only create license directory if needed
-        pkglicensedir = os.path.join(self.packaging.LICENSEDIR, package.name)
-        dest_pkglicensedir = os.path.join(destdir, pkglicensedir)
         shutil.copyfile(os.path.join(DATADIR, 'changelog.gz'),
                 os.path.join(destdir, pkgdocdir, 'changelog.gz'))
 

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