Searched hist:"7 a8f8865582583314c884e77a607f5b9dc9cf8b6" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/test/py/tests/ |
| H A D | test_env.py | 7a8f8865582583314c884e77a607f5b9dc9cf8b6 Thu Jun 16 18:59:34 UTC 2016 Stephen Warren <swarren@nvidia.com> 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>
|