[game-data-packager] 01/01: innoextract: fix 'NoneType' object is not iterable

Alexandre Detiste detiste-guest at moszumanska.debian.org
Thu May 14 22:51:57 UTC 2015


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 e3ac788ba17da19535cf0d0b0d721de554f6a4a6
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Fri May 15 00:51:43 2015 +0200

    innoextract: fix 'NoneType' object is not iterable
---
 game_data_packager/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index e439db5..190db80 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -1584,7 +1584,7 @@ class GameData(object):
                     version = subprocess.check_output(['innoextract', '-v'],
                                             universal_newlines=True)[12:15]
                     if version != '1.4':
-                        include = provider.unpack.get('include')
+                        include = provider.unpack.get('include', [])
                         for i in include:
                             cmdline.append('-I')
                             cmdline.append(i)

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