summaryrefslogtreecommitdiff
path: root/tools/moveconfig.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-03-02 10:38:00 -0500
committerTom Rini <trini@konsulko.com>2022-03-02 10:38:00 -0500
commitf861ffa660dc47c4017c220b94d10a64439d46a7 (patch)
tree7ba56091d7713bf04e940afa9a2f8adcaeeb2a16 /tools/moveconfig.py
parentf9a719e2954473f9be1f8c14a28288f943a00dd2 (diff)
parent642e51addf918e0dd1b901efaa9f5706c12365b7 (diff)
Merge branch '2022-03-02-enable-pylint-in-CI' into next
To quote the author: This series adds a new errors-only pylint check and adds it to the CI systems. It also fixes the current errors in the U-Boot Python code, disabling errors where it seems necessary. A small patch to buildman allows it to build sandbox without any changes to the default config file
Diffstat (limited to 'tools/moveconfig.py')
-rwxr-xr-xtools/moveconfig.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index cff1e306581..d4a96ef45d2 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -339,7 +339,7 @@ def read_file(fname, as_lines=True, skip_unicode=False):
return inf.read()
except UnicodeDecodeError as e:
if not skip_unicode:
- raises
+ raise
print("Failed on file %s': %s" % (fname, e))
return None
@@ -790,9 +790,6 @@ class KconfigParser:
actlog = "'%s' is the same as the define in Kconfig. Do nothing." \
% value
log_color = COLOR_LIGHT_PURPLE
- elif action == ACTION_SPL_NOT_EXIST:
- actlog = 'SPL is not enabled for this defconfig. Skip.'
- log_color = COLOR_PURPLE
else:
sys.exit('Internal Error. This should not happen.')