Skip to content
Snippets Groups Projects
Commit 7a8f8865 authored by Stephen Warren's avatar Stephen Warren Committed by Tom Rini
Browse files

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: da37f006 ("tests: py: disable main_signon check for printenv cmd")
Acked-by: default avatarHeiko Schocher <hs@denx.de>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent 6beacfcf
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment