utils/checkpackagelib: CommentsMenusPackagesOrder: remove '-comment' state before...
authorJerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Sat, 5 Oct 2019 12:22:15 +0000 (14:22 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 7 Oct 2019 21:39:21 +0000 (23:39 +0200)
commitdd251d68e5995b7c146c9712ce25a187a25b87de
treee27528895b5ac9e5245a79bb808ed6542517ef30
parentb1c90467d8a4be273a3010fad4728115b470ccbf
utils/checkpackagelib: CommentsMenusPackagesOrder: remove '-comment' state before the '-menu' one

A comment is considered an alternative delimiter like a menu. I.e.,
a menu that comes after a comment should not be considered a submenu of
that comment. Therefore, remove the '-comment' state before adding the
'-menu' one.

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
utils/checkpackagelib/lib_config.py