From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 19 Jun 2016 10:12:37 -0400 Subject: [U-Boot] [PATCH] test/py: fix printenv signon message disable code In-Reply-To: <20160616185934.9223-1-swarren@wwwdotorg.org> References: <20160616185934.9223-1-swarren@wwwdotorg.org> Message-ID: <20160619141237.GO4353@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 16, 2016 at 12:59:34PM -0600, Stephen Warren wrote: > From: Stephen Warren > > CONFIG_VERSION_VARIABLE isn't always defined, so we can't simply look up > its value directly, or an exception will occur if it isn't defined. > Instead, we must use .get() to supply a default value if the variable > isn't defined. > > Fixes: da37f006e7c5 ("tests: py: disable main_signon check for printenv cmd") > Acked-by: Heiko Schocher > Signed-off-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: