aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-08-02 10:29:34 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-08-02 18:43:52 +0200
commitd5990601bae7729e44d3cc342f290d8a1608e9e1 (patch)
treedb425239ea6e144219e3375e07c58ddd7c16f085 /utils
parent1a49dcb5287111cb0cb4d3d38eea95dc85d0893f (diff)
downloadbuildroot-d5990601bae7729e44d3cc342f290d8a1608e9e1.tar.gz
buildroot-d5990601bae7729e44d3cc342f290d8a1608e9e1.tar.bz2
utils/checkpackagelib: CommentsMenusPackagesOrder: properly initialize levels
Fix an issue introduced by Arnout while committing. Jerzy originally initialized the menu_of_packages, package and print_package_warning members like they should be, but Arnout thought it wasn't needed and removed that. It is actually needed, to make sure the top level (level 0) works. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/264383157 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'utils')
-rw-r--r--utils/checkpackagelib/lib_config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/checkpackagelib/lib_config.py b/utils/checkpackagelib/lib_config.py
index 26349fb681..225f92af13 100644
--- a/utils/checkpackagelib/lib_config.py
+++ b/utils/checkpackagelib/lib_config.py
@@ -61,9 +61,9 @@ class AttributesOrder(_CheckFunction):
class CommentsMenusPackagesOrder(_CheckFunction):
- menu_of_packages = []
- package = []
- print_package_warning = []
+ menu_of_packages = [""]
+ package = [""]
+ print_package_warning = [True]
def before(self):
self.state = ""