binman: Correct init of entry in Entry class
authorSimon Glass <sjg@chromium.org>
Tue, 23 Nov 2021 18:03:43 +0000 (11:03 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 2 Dec 2021 16:16:30 +0000 (09:16 -0700)
This should not have an underscore. Drop it so that derived classes can
rely on it being set correctly.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/entry.py

index 70222718ea9303760eff69665e297454c9dc7bdd..5e66aa4fa544db75a785796710a025da90bb657e 100644 (file)
@@ -95,7 +95,7 @@ class Entry(object):
         self.pad_after = 0
         self.offset_unset = False
         self.image_pos = None
-        self._expand_size = False
+        self.expand_size = False
         self.compress = 'none'
         self.missing = False
         self.external = False