[game-data-packager] 01/01: build: cat_files: fix bug triggered only by unpacked FP archive

Alexandre Detiste detiste-guest at moszumanska.debian.org
Wed Nov 11 21:57:41 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 250458fa33f0fee33d03d466f42b0cb2d74e9cb3
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Wed Nov 11 22:56:37 2015 +0100

    build: cat_files: fix bug triggered only by unpacked FP archive
---
 game_data_packager/build.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 75d0cf0..c165f3c 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -859,6 +859,7 @@ class PackagingTask(object):
             # we didn't break, so we have all the bits
             path = os.path.join(self.get_workdir(), 'tmp',
                     wanted.name)
+            mkdir_p(os.path.dirname(path))
             with open(path, 'wb') as writer:
                 def open_files():
                     yield open(self.found[provider.name], 'rb')

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