Commit 83428c4a authored by Mattia Rizzolo's avatar Mattia Rizzolo

oops, fix syntax, too many brackets

Gbp-Dch: Ignore
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 8f983042
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment