Files
community.general/plugins/inventory
Evan Wies 0c9c4ae401 digital_ocean #3438: use get instead of [] to prevent KeyError
The existing code was using:
  a[b][c[d]]
where a[b] would always exist and c[d] would always exist.
But the nested index would not alway exist, particularly when a DigitalOcean item disapeared.

This changes that nested index to a `get` and properly handles None results.

This bug was present in two spots in this file.
2013-08-09 11:57:37 -04:00
..
2012-10-08 07:45:25 -04:00
2012-10-08 07:45:25 -04:00
2013-06-28 19:11:32 +00:00
2013-05-23 07:55:05 +05:30
2013-03-30 23:04:07 -07:00
2013-02-23 13:34:14 -05:00