[game-data-packager] 01/01: consider_zip: disambiguate

Alexandre Detiste detiste-guest at moszumanska.debian.org
Mon Apr 27 08:24:50 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 297976dbb300641c0f13c238ebdc42847afbbef6
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Mon Apr 27 10:24:28 2015 +0200

    consider_zip: disambiguate
---
 game_data_packager/__init__.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index a9bb1ca..41c43f7 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -1132,18 +1132,18 @@ class GameData(object):
 
     def consider_zip(self, name, zf, provider=None):
         if provider is None:
-            filenames = self.files
+            try_to_unpack = self.files
             should_provide = set()
         else:
-            filenames = provider.provides
-            should_provide = set(filenames)
+            try_to_unpack = provider.provides
+            should_provide = set(try_to_unpack)
 
 
         for entry in zf.infolist():
             if not entry.file_size:
                 continue
 
-            for filename in filenames:
+            for filename in try_to_unpack:
                 wanted = self.files.get(filename)
 
                 if wanted is None:

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