aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/checkpackagelib/lib_config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/checkpackagelib/lib_config.py b/utils/checkpackagelib/lib_config.py
index 8f7b13a866..d12653f080 100644
--- a/utils/checkpackagelib/lib_config.py
+++ b/utils/checkpackagelib/lib_config.py
@@ -115,8 +115,9 @@ class CommentsMenusPackagesOrder(_CheckFunction):
elif text.startswith("endmenu"):
self.state = self.state[:-5]
- elif source_line:
self.level = self.get_level()
+
+ elif source_line:
new_package = source_line.group(1)
# We order _ before A, so replace it with .