This is an automated email from the git hooks/post-receive script. detiste-guest pushed a commit to branch master in repository game-data-packager.
commit 8abfee603d9b32b63a9911b06ed0135acf5e6b57 Author: Alexandre Detiste <[email protected]> Date: Mon Oct 31 02:44:54 2016 +0100 ECWolf: avoid using _from before assignment --- game_data_packager/games/ecwolf_common.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/game_data_packager/games/ecwolf_common.py b/game_data_packager/games/ecwolf_common.py index 065cf4e..d28f52c 100644 --- a/game_data_packager/games/ecwolf_common.py +++ b/game_data_packager/games/ecwolf_common.py @@ -75,11 +75,11 @@ class EcwolfTask(PackagingTask): else: raise AssertionError('wolf-common.png should have existed') - from_ = os.path.splitext(from_)[0] + '.svgz' - if os.path.exists(from_): - svgdir = os.path.join(destdir, 'usr/share/icons/hicolor/scalable/apps') - mkdir_p(svgdir) - install_data(from_, os.path.join(svgdir, '%s.svgz' % package.name)) + from_ = os.path.splitext(from_)[0] + '.svgz' + if os.path.exists(from_): + svgdir = os.path.join(destdir, 'usr/share/icons/hicolor/scalable/apps') + mkdir_p(svgdir) + install_data(from_, os.path.join(svgdir, '%s.svgz' % package.name)) install_to = self.packaging.substitute(package.install_to, package.name) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

