update.py: Results from FindCompatiblesDTS are not encoded
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
This commit is contained in:
parent
c1abf3d134
commit
32c5c19b97
1 changed files with 2 additions and 4 deletions
|
|
@ -414,8 +414,7 @@ class UpdateComps(Thread):
|
||||||
lines = compatibles_parser.run(scriptLines('get-blob', hash), family)
|
lines = compatibles_parser.run(scriptLines('get-blob', hash), family)
|
||||||
comps = {}
|
comps = {}
|
||||||
for l in lines:
|
for l in lines:
|
||||||
ident, line = l.split(b' ')
|
ident, line = l.split(' ')
|
||||||
line = line.decode()
|
|
||||||
|
|
||||||
if ident in comps:
|
if ident in comps:
|
||||||
comps[ident] += ',' + str(line)
|
comps[ident] += ',' + str(line)
|
||||||
|
|
@ -480,8 +479,7 @@ class UpdateCompsDocs(Thread):
|
||||||
comps_docs = {}
|
comps_docs = {}
|
||||||
with comps_lock:
|
with comps_lock:
|
||||||
for l in lines:
|
for l in lines:
|
||||||
ident, line = l.split(b' ')
|
ident, line = l.split(' ')
|
||||||
line = int(line.decode())
|
|
||||||
|
|
||||||
if db.comps.exists(ident):
|
if db.comps.exists(ident):
|
||||||
if ident in comps_docs:
|
if ident in comps_docs:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue