aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/checkpackagelib/lib_config.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/utils/checkpackagelib/lib_config.py b/utils/checkpackagelib/lib_config.py
index d1d4a4f549..c5d0dc0fdb 100644
--- a/utils/checkpackagelib/lib_config.py
+++ b/utils/checkpackagelib/lib_config.py
@@ -61,14 +61,13 @@ class AttributesOrder(_CheckFunction):
class CommentsMenusPackagesOrder(_CheckFunction):
- menu_of_packages = [""]
- package = [""]
- print_package_warning = [True]
-
def before(self):
- self.state = ""
self.level = 0
+ self.menu_of_packages = [""]
self.new_package = ""
+ self.package = [""]
+ self.print_package_warning = [True]
+ self.state = ""
def get_level(self):
return len(self.state.split('-')) - 1