[Concept,06/14] buildman: Fix indentation in func_test

Message ID 20260110235633.1064859-7-sjg@u-boot.org
State New
Headers
Series buildman: Clean up pylint warnings in func_test |

Commit Message

Simon Glass Jan. 10, 2026, 11:56 p.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

Fix inconsistent indentation in test_bad_toolchain() where 2 spaces
are used instead of 4 spaces. This fixes pylint W0311 warning.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---

 tools/buildman/func_test.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
  

Patch

diff --git a/tools/buildman/func_test.py b/tools/buildman/func_test.py
index eb496c327ed..f677282c11c 100644
--- a/tools/buildman/func_test.py
+++ b/tools/buildman/func_test.py
@@ -581,13 +581,13 @@  Some images are invalid'''
         for commit in range(self._commits):
             for brd in self._boards.get_list():
                 if brd.arch != 'sandbox':
-                  errfile = self._builder.get_err_file(commit, brd.target)
-                  fd = open(errfile)
-                  self.assertEqual(
-                      fd.readlines(),
-                      [f'Tool chain error for {brd.arch}: '
-                       f"No tool chain found for arch '{brd.arch}'"])
-                  fd.close()
+                    errfile = self._builder.get_err_file(commit, brd.target)
+                    fd = open(errfile)
+                    self.assertEqual(
+                        fd.readlines(),
+                        [f'Tool chain error for {brd.arch}: '
+                         f"No tool chain found for arch '{brd.arch}'"])
+                    fd.close()
 
     def test_toolchain_errors(self):
         """Test that toolchain errors are reported in the summary