From: Jerzy Grzegorek Date: Sat, 5 Oct 2019 12:22:19 +0000 (+0200) Subject: utils/checkpackagelib: CommentsMenusPackagesOrder: initialize 'menu_of_packages'... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16271ec3569cf7e306a5809a6023579dbe20070c;p=buildroot.git 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 Cc: Ricardo Martincoski Reviewed-by: Ricardo Martincoski Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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]