From: Jerzy Grzegorek Date: Sat, 5 Oct 2019 12:22:17 +0000 (+0200) Subject: utils/checkpackagelib: CommentsMenusPackagesOrder: use '-' to describe state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a5f6ea7e2095da4076df05a8af3d3bc8ac8bb47;p=buildroot.git utils/checkpackagelib: CommentsMenusPackagesOrder: use '-' to describe state 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 06c066c5ca..d1d4a4f549 100644 --- a/utils/checkpackagelib/lib_config.py +++ b/utils/checkpackagelib/lib_config.py @@ -115,7 +115,7 @@ class CommentsMenusPackagesOrder(_CheckFunction): self.initialize_level_elements(text) elif text.startswith("endif") or text.startswith("endmenu"): - if self.state.endswith("comment"): + if self.state.endswith("-comment"): self.state = self.state[:-8] if text.startswith("endif"):