utils/checkpackagelib: CommentsMenusPackagesOrder: properly initialize levels
PATCH 1/2 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.
--- utils/checkpackagelib/lib_config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
utils/checkpackagelib/lib_config.py +3 -3
@@ -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 = ""
Signature · 1 line
2.21.0
PATCH 2/2 package/Config.in: remove double /
Detected by check-package, which gets confused by it.
--- package/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/Config.in +1 -1
@@ -1069,7 +1069,7 @@ menu "External python modules" source "package/python-slob/Config.in" source "package/python-smbus-cffi/Config.in" source "package/python-socketio/Config.in" - source "package/python-sortedcontainers//Config.in" + source "package/python-sortedcontainers/Config.in" source "package/python-spidev/Config.in" source "package/python-sqlalchemy/Config.in" source "package/python-subprocess32/Config.in"
Signature · 1 line
2.21.0