diff mbox series

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

Message ID 20211123180354.615946-7-sjg@chromium.org
State Accepted
Commit c47383114f8cbced067e10035b5b907e87425dd3
Delegated to: Simon Glass
Headers show
Series binman: Various tidy-ups and refactors | expand

Commit Message

Simon Glass Nov. 23, 2021, 6:03 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Glass Dec. 2, 2021, 9:18 p.m. UTC | #1
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-dm/next, thanks!
diff mbox series

Patch

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