[game-data-packager] 02/17: build: allow tar.* as an unpacker format

Simon McVittie smcv at debian.org
Wed Dec 30 22:57:17 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 9b347248925a738255b8a2123abc6a6dc91c6919
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Dec 30 12:56:19 2015 +0000

    build: allow tar.* as an unpacker format
---
 game_data_packager/build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 269ba50..01fdb3a 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1022,7 +1022,7 @@ class PackagingTask(object):
                     orig_time = os.stat(found_name).st_mtime
                     os.utime(tmp, (orig_time, orig_time))
                     self.use_file(wanted, tmp, None)
-                elif fmt in ('tar.gz', 'tar.bz2', 'tar.xz'):
+                elif fmt in ('tar.*', 'tar.gz', 'tar.bz2', 'tar.xz'):
                     reader = open(found_name, 'rb')
                     with TarUnpacker(found_name, reader, compression=fmt[4:],
                             skip=provider.unpack.get('skip', 0)) as tar:

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