aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>2019-10-05 14:22:19 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-10-07 23:39:21 +0200
commit16271ec3569cf7e306a5809a6023579dbe20070c (patch)
treee4425c432455180a8a373f3f1100663e6ceb101d
parentb47590fdb02e1fe74ff832428f2e154cc7d960e7 (diff)
downloadbuildroot-16271ec3569cf7e306a5809a6023579dbe20070c.tar.gz
buildroot-16271ec3569cf7e306a5809a6023579dbe20070c.tar.bz2
utils/checkpackagelib: CommentsMenusPackagesOrder: initialize 'menu_of_packages' array
'source' without a previous 'menu' is common in package/Config.in in br2-externals. Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r--utils/checkpackagelib/lib_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/checkpackagelib/lib_config.py b/utils/checkpackagelib/lib_config.py
index c5d0dc0fdb..3a84828902 100644
--- a/utils/checkpackagelib/lib_config.py
+++ b/utils/checkpackagelib/lib_config.py
@@ -63,7 +63,7 @@ class AttributesOrder(_CheckFunction):
class CommentsMenusPackagesOrder(_CheckFunction):
def before(self):
self.level = 0
- self.menu_of_packages = [""]
+ self.menu_of_packages = ["The top level menu"]
self.new_package = ""
self.package = [""]
self.print_package_warning = [True]