[diffoscope] 03/04: comparators.apk: Inline single-use variable assignment.

Chris Lamb chris at chris-lamb.co.uk
Sun Jan 15 03:46:56 CET 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit f871508f1dd875982575f852b700e230315c06d7
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Jan 15 13:21:03 2017 +1100

    comparators.apk: Inline single-use variable assignment.
    
    Gbp-Dch: ignore
---
 diffoscope/comparators/apk.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/diffoscope/comparators/apk.py b/diffoscope/comparators/apk.py
index c45c01f..7acf00e 100644
--- a/diffoscope/comparators/apk.py
+++ b/diffoscope/comparators/apk.py
@@ -76,8 +76,7 @@ class ApkContainer(Archive):
         return self._members
 
     def extract(self, member_name, dest_dir):
-        src_path = os.path.join(self._unpacked, member_name)
-        return src_path
+        return os.path.join(self._unpacked, member_name)
 
 class ApkFile(File):
     RE_FILE_TYPE = re.compile(r'^(Java|Zip) archive data.*\b')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list