Skip to content

Commit

Permalink
Merge pull request #443 from k01ek/develop
Browse files Browse the repository at this point in the history
Fix KeyError when setting a "False" val in defaults
  • Loading branch information
dbarrosop committed Oct 18, 2019
2 parents 0530b0c + d438316 commit fde3631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nornir/core/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def __getitem__(self, item):
continue

r = self.defaults.data.get(item)
if r:
if r is not None:
return r

raise
Expand Down

0 comments on commit fde3631

Please sign in to comment.