[game-data-packager] 07/17: Do not attempt to extract non-regular files from tar and zip archives
Simon McVittie
smcv at debian.org
Wed Dec 30 22:57:21 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 c6f64d46034432d1da3820917cf6b926cad60068
Author: Simon McVittie <smcv at debian.org>
Date: Wed Dec 30 12:57:09 2015 +0000
Do not attempt to extract non-regular files from tar and zip archives
---
game_data_packager/unpack/__init__.py | 8 --------
1 file changed, 8 deletions(-)
diff --git a/game_data_packager/unpack/__init__.py b/game_data_packager/unpack/__init__.py
index 25c000f..3ad4479 100644
--- a/game_data_packager/unpack/__init__.py
+++ b/game_data_packager/unpack/__init__.py
@@ -199,10 +199,6 @@ class TarEntry(UnpackableEntry):
self.impl = impl
@property
- def is_extractable(self):
- return True
-
- @property
def is_directory(self):
return self.impl.isdir()
@@ -253,10 +249,6 @@ class ZipEntry(UnpackableEntry):
self.impl = impl
@property
- def is_extractable(self):
- return True
-
- @property
def is_directory(self):
return self.name.endswith('/')
--
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