[diffoscope] 01/01: oops, fix syntax, too many brackets

Mattia Rizzolo mattia at debian.org
Mon Oct 2 00:41:55 CEST 2017


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

mattia pushed a commit to branch master
in repository diffoscope.

commit 83428c4a4076238ef18c5177455a5b327c4e8094
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Mon Oct 2 00:41:26 2017 +0200

    oops, fix syntax, too many brackets
    
    Gbp-Dch: Ignore
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 tests/comparators/test_dtb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/comparators/test_dtb.py b/tests/comparators/test_dtb.py
index 83d7c2d..635ff30 100644
--- a/tests/comparators/test_dtb.py
+++ b/tests/comparators/test_dtb.py
@@ -39,7 +39,7 @@ def fdtdump_version():
     # We are looking for a line like
     #   Version: DTC 1.4.5
     # that usually is placed last
-    for line in reversed(out.decode().splitlines())):
+    for line in reversed(out.decode().splitlines()):
         if line.startswith('Version: '):
             return line.split()[2]
     raise ValueError('Error parsing `fdtdump --version` output')

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


More information about the diffoscope mailing list