261c40bac7
Module was importing '*' from facts to get to TimeoutError but that has moved to facts.timeout, so import is updated. Also rm old style imports to new style imports at the start of the module. 'signal' py module was used and referenced but never imported, presumably it was using the 'signal' previously imported into module_utils.facts. Now imported directly. 'AnsibleModule' was also from a * import, so now imported directly. A ref to 'module' was in _delete_disks_when_detached(), so now it is updated to raise an AzureException() with its message, and let its caller catch it and call module.fail_json() |
||
---|---|---|
.. | ||
ansible |