[game-data-packager] 09/17: Evaluate potential providers of files recursively

Simon McVittie smcv at debian.org
Fri Jan 2 21:11:56 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 fa00e185e7f238741dfdb2f2d07a63c5c50530f7
Author: Simon McVittie <smcv at debian.org>
Date:   Fri Jan 2 19:03:32 2015 +0000

    Evaluate potential providers of files recursively
    
    rott needs this to unpack its zip-in-zip file, for instance.
---
 lib/game_data_packager/__init__.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/game_data_packager/__init__.py b/lib/game_data_packager/__init__.py
index c150bfe..2598991 100644
--- a/lib/game_data_packager/__init__.py
+++ b/lib/game_data_packager/__init__.py
@@ -717,6 +717,9 @@ class GameDataPackage(object):
         for provider_name in self.providers.get(wanted.name, ()):
             provider = self.files[provider_name]
 
+            # recurse to unpack or (see whether we can) download the provider
+            providable = self.fill_gap(provider, download=download, log=log)
+
             if provider_name in self.found:
                 possible = True
                 found_name = self.found[provider_name]

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