1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

Improve imports of APIException (#37)

Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
This commit is contained in:
Lukas Kämmerling 2020-11-24 06:39:21 +01:00 committed by GitHub
parent 207d68677a
commit 8bb449d3de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 29 additions and 20 deletions

View file

@ -153,7 +153,7 @@ try:
from hcloud.load_balancers.domain import LoadBalancer
from hcloud import APIException
except ImportError:
pass
APIException = None
class AnsibleHcloudLoadBalancer(Hcloud):