0c9c4ae401
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. |
||
---|---|---|
.. | ||
cobbler.py | ||
digital_ocean.ini | ||
digital_ocean.py | ||
ec2.ini | ||
ec2.py | ||
linode.ini | ||
linode.py | ||
nova.ini | ||
nova.py | ||
rax.py | ||
spacewalk.py | ||
vagrant.py | ||
yaml.py |