[Pkg-privacy-commits] [mat] 20/68: Remove two useless variables
Sascha Steinbiss
sascha at steinbiss.name
Sun Jan 3 12:32:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
sascha-guest pushed a commit to branch master
in repository mat.
commit 4b56ff254ab45025de76c7a84e6a147691743afa
Author: jvoisin <julien.voisin at dustri.org>
Date: Wed Nov 25 19:38:28 2015 +0100
Remove two useless variables
---
libmat/archive.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libmat/archive.py b/libmat/archive.py
index ca80161..ad9fdc9 100644
--- a/libmat/archive.py
+++ b/libmat/archive.py
@@ -104,7 +104,7 @@ class ZipStripper(GenericArchiveStripper):
return False
else:
logging.info('%s\'s fileformat is not supported or harmless.', item.filename)
- basename, ext = os.path.splitext(path)
+ _, ext = os.path.splitext(path)
if os.path.basename(item.filename) not in ('mimetype', '.rels'):
if ext not in parser.NOMETA:
if not list_unsupported:
@@ -188,7 +188,7 @@ class ZipStripper(GenericArchiveStripper):
logging.debug('Processing %s from %s', item.filename, self.filename)
elif item.filename not in whitelist:
logging.info("%s's format is not supported or harmless", item.filename)
- basename, ext = os.path.splitext(path)
+ _, ext = os.path.splitext(path)
if not (self.add2archive or ext in parser.NOMETA):
continue
zinfo = zipfile.ZipInfo(item.filename, date_time=ZIP_EPOCH)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/mat.git
More information about the Pkg-privacy-commits
mailing list