diff options
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/bsp/kernel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py index 0b7e69b..272c3eb 100644 --- a/scripts/lib/bsp/kernel.py +++ b/scripts/lib/bsp/kernel.py @@ -168,7 +168,7 @@ def read_config_items(scripts_path, machine): lines = f.readlines() for line in lines: s = line.strip() - if s: + if s and not s.startswith("#"): config_items.append(s) f.close() @@ -399,7 +399,7 @@ def read_patch_items(scripts_path, machine): lines = f.readlines() for line in lines: s = line.strip() - if s: + if s and not s.startswith("#"): fields = s.split() if not fields[0] == "patch": continue |