[game-data-packager] 01/03: ARJ: make multipart handling tiny bit simpler

Alexandre Detiste detiste-guest at moszumanska.debian.org
Wed Sep 30 07:50:02 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 189679fe62caab81360c80ce007af19cf06f36a9
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Wed Sep 30 08:38:38 2015 +0200

    ARJ: make multipart handling tiny bit simpler
---
 game_data_packager/__init__.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 5b2df76..b306b07 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -1903,8 +1903,7 @@ class GameData(object):
                                 os.utime(full, (orig_time, orig_time))
                         self.consider_file_or_dir(tmpdir)
                 elif fmt == 'arj':
-                    other_parts = set(provider.unpack.get('other_parts'))
-                    other_parts.discard(None)
+                    other_parts = provider.unpack.get('other_parts',[])
                     for p in other_parts:
                         self.fill_gap(package, self.files[p], download=False, log=True)
                         if p not in self.found:

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