[game-data-packager] 03/08: Fix unpacking provided files from lha

Simon McVittie smcv at debian.org
Thu Jan 15 09:40:15 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 8564384649c17d387038db6b608793fd5588e724
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Jan 14 09:17:40 2015 +0000

    Fix unpacking provided files from lha
    
    TypeError: can only concatenate list (not "set") to list
---
 lib/game_data_packager/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/game_data_packager/__init__.py b/lib/game_data_packager/__init__.py
index 1a7cba0..a114c2c 100644
--- a/lib/game_data_packager/__init__.py
+++ b/lib/game_data_packager/__init__.py
@@ -1149,7 +1149,7 @@ class GameData(object):
                     mkdir_p(tmpdir)
                     subprocess.check_call(['lha', 'xq',
                                 os.path.abspath(found_name)] +
-                            to_unpack, cwd=tmpdir)
+                            list(to_unpack), cwd=tmpdir)
                     for f in to_unpack:
                         self.consider_file(os.path.join(tmpdir, f), True)
                 elif fmt == 'id-shr-extract':

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