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 1c2eb45155436b97a3cdfc78e37bdf299f5c3b67
Author: Simon McVittie <[email protected]>
Date:   Wed Dec 30 22:34:11 2015 +0000

    gdp.unpack.ZipUnpacker: we can open a stream
---
 game_data_packager/unpack/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/game_data_packager/unpack/__init__.py 
b/game_data_packager/unpack/__init__.py
index 3ad4479..54cf3a7 100644
--- a/game_data_packager/unpack/__init__.py
+++ b/game_data_packager/unpack/__init__.py
@@ -269,9 +269,9 @@ class ZipEntry(UnpackableEntry):
         return self.impl.file_size
 
 class ZipUnpacker(WrapperUnpacker):
-    def __init__(self, name):
+    def __init__(self, file_or_name):
         super(ZipUnpacker, self).__init__()
-        self._impl = zipfile.ZipFile(name, 'r')
+        self._impl = zipfile.ZipFile(file_or_name, 'r')
 
     def __iter__(self):
         for entry in self._impl.infolist():

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/game-data-packager.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to