[diffoscope] 03/05: rdata: Drop unused rdx_bname

Chris Lamb chris at chris-lamb.co.uk
Fri Apr 21 14:28:57 CEST 2017


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

lamby pushed a commit to branch experimental
in repository diffoscope.

commit d76e7b741f36bc479f44c8c61fe3cd51c6bb792e
Author: Chris Lamb <lamby at debian.org>
Date:   Fri Apr 21 13:23:57 2017 +0100

    rdata: Drop unused rdx_bname
    
    Gbp-Dch: ignore
---
 diffoscope/comparators/rdata.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/diffoscope/comparators/rdata.py b/diffoscope/comparators/rdata.py
index 2bedaa8..bbb826f 100644
--- a/diffoscope/comparators/rdata.py
+++ b/diffoscope/comparators/rdata.py
@@ -45,7 +45,6 @@ def ensure_archive_rdx(f):
         bname = os.path.basename(f.name)
         assert bname.endswith(".rdb")
         rdx_name = f.name[:-4] + ".rdx"
-        rdx_bname = os.path.basename(rdx_name)
         try:
             rdx_path = f.container.get_member(rdx_name).path
         except KeyError:

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


More information about the diffoscope mailing list