From 71e469f9afa6872ff5b2a6552465aab1aaf5ec05 Mon Sep 17 00:00:00 2001 From: Maxime Chretien Date: Fri, 5 Jun 2020 16:20:56 +0200 Subject: [PATCH] update.py: fix some typos Signed-off-by: Maxime Chretien --- update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.py b/update.py index 18fa2b0..331cb1d 100755 --- a/update.py +++ b/update.py @@ -136,7 +136,7 @@ class UpdateIdVersion(Thread): obj.append(idx, path) # Store DT bindings documentation files to parse them later - if path[:33] == 'Documentation/devicetree/bindings': + if path[:33] == b'Documentation/devicetree/bindings': bindings_idxes.append(idx) if verbose: @@ -396,7 +396,7 @@ class UpdateComps(Thread): global hash_file_lock, comps_lock, tags_comps, bindings_idxes for idx in idxes: - if (idx % 1000 == 0): progress('comps: ' + str(idx) + ' 2/2', tags_comp) + if (idx % 1000 == 0): progress('comps: ' + str(idx) + ' 2/2', tags_comps) if not idx in bindings_idxes: # Parse only bindings doc files continue