[PATCH 3/9] binman: Use correct argument name in docstrings

Jonas Karlman jonas at kwiboo.se
Sun Feb 19 23:02:04 CET 2023


Use correct argument name in docstrings.

Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
---
 tools/binman/entry.py         | 2 +-
 tools/binman/etype/blob.py    | 2 +-
 tools/binman/etype/section.py | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/binman/entry.py b/tools/binman/entry.py
index 5eacc5fa6c42..52b5d335f8ba 100644
--- a/tools/binman/entry.py
+++ b/tools/binman/entry.py
@@ -1104,7 +1104,7 @@ features to produce new behaviours.
         If there are faked blobs, the entries are added to the list
 
         Args:
-            fake_blobs_list: List of Entry objects to be added to
+            faked_blobs_list: List of Entry objects to be added to
         """
         # This is meaningless for anything other than blobs
         pass
diff --git a/tools/binman/etype/blob.py b/tools/binman/etype/blob.py
index c7ddcedffb82..a80741e36338 100644
--- a/tools/binman/etype/blob.py
+++ b/tools/binman/etype/blob.py
@@ -102,7 +102,7 @@ class Entry_blob(Entry):
         If there are faked blobs, the entries are added to the list
 
         Args:
-            fake_blobs_list: List of Entry objects to be added to
+            faked_blobs_list: List of Entry objects to be added to
         """
         if self.faked:
             faked_blobs_list.append(self)
diff --git a/tools/binman/etype/section.py b/tools/binman/etype/section.py
index 8bf5aa437d1a..d3926f791c72 100644
--- a/tools/binman/etype/section.py
+++ b/tools/binman/etype/section.py
@@ -885,7 +885,7 @@ class Entry_section(Entry):
         """Set whether a section allows to create a fake blob
 
         Args:
-            allow_fake_blob: True if allowed, False if not allowed
+            allow_fake: True if allowed, False if not allowed
         """
         super().SetAllowFakeBlob(allow_fake)
         for entry in self._entries.values():
@@ -909,7 +909,7 @@ class Entry_section(Entry):
         If there are faked blobs, the entries are added to the list
 
         Args:
-            fake_blobs_list: List of Entry objects to be added to
+            faked_blobs_list: List of Entry objects to be added to
         """
         for entry in self._entries.values():
             entry.CheckFakedBlobs(faked_blobs_list)
-- 
2.39.2



More information about the U-Boot mailing list