[U-Boot] [PATCH v2 05/37] binman: Fix comment in bsection.GetEntries()

Simon Glass sjg at chromium.org
Mon Jul 8 19:18:24 UTC 2019


This comment is out of date as it does not correctly describe the return
value. Fix it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 tools/binman/bsection.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/binman/bsection.py b/tools/binman/bsection.py
index 03dfa2f805c..a3026718794 100644
--- a/tools/binman/bsection.py
+++ b/tools/binman/bsection.py
@@ -399,10 +399,10 @@ class Section(object):
             raise ValueError("%s: No such property '%s'" % (msg, prop_name))
 
     def GetEntries(self):
-        """Get the number of entries in a section
+        """Get the dict of entries in a section
 
         Returns:
-            Number of entries in a section
+            OrderedDict of entries in a section
         """
         return self._entries
 
-- 
2.22.0.410.gd8fdbe21b5-goog



More information about the U-Boot mailing list