[diffoscope] 03/04: comparators.apk: Tidy unnecessary assignment.

Chris Lamb chris at chris-lamb.co.uk
Thu Mar 1 23:50:47 CET 2018


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 60b57686769bce49d63c5ba234206c665c7ceae4
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Mar 1 22:50:02 2018 +0000

    comparators.apk: Tidy unnecessary assignment.
---
 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 7623f82..3d86a9c 100644
--- a/diffoscope/comparators/apk.py
+++ b/diffoscope/comparators/apk.py
@@ -107,8 +107,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)
 
     def compare_manifests(self, other):
         my_android_manifest = self.get_android_manifest()

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


More information about the diffoscope mailing list