From patchwork Mon Jul 8 19:18:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1129235 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="haPBs4W5"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45jFkX6xTwz9sDB for ; Tue, 9 Jul 2019 05:24:20 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 9ED4CC21E3B; Mon, 8 Jul 2019 19:23:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B60A9C21DFB; Mon, 8 Jul 2019 19:21:14 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9294BC21E08; Mon, 8 Jul 2019 19:21:07 +0000 (UTC) Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) by lists.denx.de (Postfix) with ESMTPS id 4D998C21C8B for ; Mon, 8 Jul 2019 19:21:04 +0000 (UTC) Received: by mail-io1-f44.google.com with SMTP id s7so37811911iob.11 for ; Mon, 08 Jul 2019 12:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=655WevlJXxzEk2s//Exs9RHiYaJiZiwG2MAP22WWtwY=; b=haPBs4W5ZiE8Izr4pQ+pVVYiIxQps5w/pdNg3FWYL9yQ8mZEDMKe1quV8qCFFKMzUS auOvRsfgrouUMkIH0CvxczNcWLib/3YcfcXlMIuzqbjLTnLyvwKjvBMMkLx3HYNviIG+ xv9v6ZqeoJd9Jv16jUlo614GNCbba23LRCxwI= 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:mime-version:content-transfer-encoding; bh=655WevlJXxzEk2s//Exs9RHiYaJiZiwG2MAP22WWtwY=; b=nisraSJxHHUDD7WaXQQm8K7Um5XF+0UamSH+wbefNlORFUVcc5FSinNUXlqAniROpS AG0M99+mREMbK4DrzajdXBd1rLFukjCfSMiZJYQ/7afLEA6YcYZwpo/S0t2hBp+P8+iQ t2xEmm4ORt1D+3XrhJe3dLq962HUgTA571GmSN9WPtOO4BCeISsgcRNfKH8mgL3zHJY6 ytrYhvlOG0/JIsKKnx2dTumOrHXiE389mp2Jx9lWHmDpJe4y+p/fe9r61UPBihM4ym6W ZySqXTDJ0fTosxqURg0k7T25HQdaAbYEoYa7nSpkRsLZCTNSqeUY7jyVVCIKyIlVEdho DLrA== X-Gm-Message-State: APjAAAVlTShkZJxzgOzY1SOOvOFu29Y2gCnE6/2FGq3J0WbcQsagtPEj /qkP3/DxmhZAuqdi2PaiVq+DRDOcM+A= X-Google-Smtp-Source: APXvYqwTSTUvGd+AgZ5Upv/9E7NWMiofMpjD+ATSrbgIFiNVbhn1m7w+tCoiStgLPnZt4Ywx9PkP+A== X-Received: by 2002:a02:5a89:: with SMTP id v131mr23826986jaa.130.1562613663221; Mon, 08 Jul 2019 12:21:03 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id j1sm15545094iop.14.2019.07.08.12.21.02 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 12:21:02 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Mon, 8 Jul 2019 13:18:24 -0600 Message-Id: <20190708191856.138863-6-sjg@chromium.org> X-Mailer: git-send-email 2.22.0.410.gd8fdbe21b5-goog In-Reply-To: <20190708191856.138863-1-sjg@chromium.org> References: <20190708191856.138863-1-sjg@chromium.org> MIME-Version: 1.0 Subject: [U-Boot] [PATCH v2 05/37] binman: Fix comment in bsection.GetEntries() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This comment is out of date as it does not correctly describe the return value. Fix it. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/bsection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/binman/bsection.py b/tools/binman/bsection.py index 03dfa2f805c..a3026718794 100644 --- a/tools/binman/bsection.py +++ b/tools/binman/bsection.py @@ -399,10 +399,10 @@ class Section(object): raise ValueError("%s: No such property '%s'" % (msg, prop_name)) def GetEntries(self): - """Get the number of entries in a section + """Get the dict of entries in a section Returns: - Number of entries in a section + OrderedDict of entries in a section """ return self._entries