Skip to content
Commit dda20d4e authored by garciadav's avatar garciadav Committed by garciadav
Browse files

Improve Config.get() function



The .get is a bit confusing because apparently has the same behaviour as dict.get(),
which returns None when the key doesn't exist. But that's not the case, because Config.get in this case is
doing dict["key"], which returns a KeyError when the key does not exist

Change-Id: Ief82eb1ae2e2fea60b8be60cae8610bf8605fb6f
Signed-off-by: default avatarDavid Garcia <david.garcia@canonical.com>
parent 6a39cb03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment