[PATCH 06/17] binman: Correct init of entry in Entry class

Simon Glass sjg at chromium.org
Tue Nov 23 19:03:43 CET 2021


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 at chromium.org>
---

 tools/binman/entry.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/binman/entry.py b/tools/binman/entry.py
index 70222718ea9..5e66aa4fa54 100644
--- a/tools/binman/entry.py
+++ b/tools/binman/entry.py
@@ -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
-- 
2.34.0.rc2.393.gf8c9666880-goog



More information about the U-Boot mailing list