From patchwork Tue Sep 3 21:13:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerzy Grzegorek X-Patchwork-Id: 1157314 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="I1f6TcMO"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46NKSz46R7z9s4Y for ; Wed, 4 Sep 2019 07:14:11 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 259C0883C8; Tue, 3 Sep 2019 21:14:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xNtEAVh8u2yW; Tue, 3 Sep 2019 21:14:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 8965088476; Tue, 3 Sep 2019 21:14:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6411E1BF59D for ; Tue, 3 Sep 2019 21:14:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5B06E854D8 for ; Tue, 3 Sep 2019 21:14:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mPO6sz+-qp9d for ; Tue, 3 Sep 2019 21:14:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6216185040 for ; Tue, 3 Sep 2019 21:14:04 +0000 (UTC) Received: by mail-lf1-f44.google.com with SMTP id u13so14054653lfm.9 for ; Tue, 03 Sep 2019 14:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xBYSmDa2o/6gP7HU5rCkAr8VehRYe5xjrQrLFXJKb1I=; b=I1f6TcMOkTtXNNMHHyQ9yHiyUl67XXQBYJmAlePfDkG3PLmy37Q/PwNSaOsJNQwQ+O cO0+Q3geIkbneULqcd0DHqHIvRyKfXeHmP952lXoJaPIHHhWsc2RbIr/yFJOaQsUPiq/ LrnJVeCnn8KF0yaZffkPkV0GkwqvZSTt2ebKnuNr/Z0nf1VPIFVXLTdfeJyU0i7CKGFS Vrl23xZLgEK4CwDteKwHK/fiYZzA9oGfmaeRcY/dTa/j/4GeeOxyvDpaCxBvvkGj3d5n Y2AtfQfpSy4AT7zySqdtcetOCqzTHPdnBDKa6ZZvvBn722vTAJlWMVfwhzYXYnnCbYvL oJ6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xBYSmDa2o/6gP7HU5rCkAr8VehRYe5xjrQrLFXJKb1I=; b=aW0E0pP+Wi+OXyKraOIC2cxaUWVF//6w85ai+3l+G9LZSfl43XJt+i3E2brKnKspv9 VsYGbidUvNKdZr0BN+GyA2XwjGgZscb+Gk66WgJ6Mim5FYIUxKFRO83zFj5M0aEIv7pF a8NIAPGfkimx/1YKFlpRyoBp/Uq7R1aXWdc8LCrIo6SsRjc6FS56OdnlbcL0kPa89ykL /LxVKMr+xbm1Hklvjwv4q/1ASHsexbNnNDgrYIGXskBl79xHFuUmxe7l0eCHqHbB99hl q3AHYh9kgVoa4mOUC/XnwfAXiBfzEDNA77KYXKQq7+L9psHshv5hVa5lX/i3VuD7PwYB gOcQ== X-Gm-Message-State: APjAAAUG/gWe6ClFHhulnGagO2HTRLHmH232VNt2yVRz3ZHTNV524o4u qLyVrp25ysIGC79gR+D6RJ+2IAzePrw= X-Google-Smtp-Source: APXvYqydXLnpo4WtD3qTq5lxmeP8900hWEA5nounOhMpqDigLWJgFxGjO5gfrXFoxKPvwY549GTbpA== X-Received: by 2002:a19:c709:: with SMTP id x9mr22118165lff.20.1567545242489; Tue, 03 Sep 2019 14:14:02 -0700 (PDT) Received: from localhost.localdomain (user-5-173-240-120.play-internet.pl. [5.173.240.120]) by smtp.gmail.com with ESMTPSA id u1sm1650822lfi.83.2019.09.03.14.14.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 14:14:02 -0700 (PDT) From: Jerzy Grzegorek To: buildroot@busybox.net Date: Tue, 3 Sep 2019 23:13:31 +0200 Message-Id: <20190903211341.10341-8-jerzy.m.grzegorek@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190903211341.10341-1-jerzy.m.grzegorek@gmail.com> References: <20190903211341.10341-1-jerzy.m.grzegorek@gmail.com> Subject: [Buildroot] [PATCH 08/18] checkpackagelib/lib_config.py: CommentsMenusPackagesOrder: use '-' to describe state X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerzy Grzegorek MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Jerzy Grzegorek Cc: Arnout Vandecappelle (Essensium/Mind) --- utils/checkpackagelib/lib_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/checkpackagelib/lib_config.py b/utils/checkpackagelib/lib_config.py index 7f92f580b8..3d8f08cac9 100644 --- a/utils/checkpackagelib/lib_config.py +++ b/utils/checkpackagelib/lib_config.py @@ -114,7 +114,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"):