summaryrefslogtreecommitdiff
path: root/test/py/tests/test_sandbox_exit.py
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-06-16 12:59:34 -0600
committerTom Rini <trini@konsulko.com>2016-06-19 09:50:56 -0400
commit7a8f8865582583314c884e77a607f5b9dc9cf8b6 (patch)
tree8590a23bb295a46757cc08fc2fc5f03b0110ffec /test/py/tests/test_sandbox_exit.py
parent6beacfcff81bdc04c10a440971b0fb683ee57534 (diff)
downloadu-boot-imx-7a8f8865582583314c884e77a607f5b9dc9cf8b6.zip
u-boot-imx-7a8f8865582583314c884e77a607f5b9dc9cf8b6.tar.gz
u-boot-imx-7a8f8865582583314c884e77a607f5b9dc9cf8b6.tar.bz2
test/py: fix printenv signon message disable code
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 <hs@denx.de> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'test/py/tests/test_sandbox_exit.py')
0 files changed, 0 insertions, 0 deletions