mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Pep8 fixes for digital_ocean_*
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
9c5b55232c
commit
2425143cf2
5 changed files with 53 additions and 53 deletions
|
@ -211,12 +211,14 @@ from ansible.module_utils.basic import AnsibleModule
|
|||
|
||||
|
||||
class TimeoutError(Exception):
|
||||
|
||||
def __init__(self, msg, id_):
|
||||
super(TimeoutError, self).__init__(msg)
|
||||
self.id = id_
|
||||
|
||||
|
||||
class JsonfyMixIn(object):
|
||||
|
||||
def to_json(self):
|
||||
return self.__dict__
|
||||
|
||||
|
|
|
@ -99,6 +99,7 @@ from ansible.module_utils.basic import AnsibleModule
|
|||
|
||||
|
||||
class JsonfyMixIn(object):
|
||||
|
||||
def to_json(self):
|
||||
return self.__dict__
|
||||
|
||||
|
|
|
@ -86,6 +86,7 @@ from ansible.module_utils.basic import AnsibleModule
|
|||
|
||||
|
||||
class JsonfyMixIn(object):
|
||||
|
||||
def to_json(self):
|
||||
return self.__dict__
|
||||
|
||||
|
|
|
@ -253,10 +253,6 @@ lib/ansible/modules/cloud/cloudstack/cs_vmsnapshot.py
|
|||
lib/ansible/modules/cloud/cloudstack/cs_volume.py
|
||||
lib/ansible/modules/cloud/cloudstack/cs_zone.py
|
||||
lib/ansible/modules/cloud/cloudstack/cs_zone_facts.py
|
||||
lib/ansible/modules/cloud/digital_ocean/digital_ocean.py
|
||||
lib/ansible/modules/cloud/digital_ocean/digital_ocean_block_storage.py
|
||||
lib/ansible/modules/cloud/digital_ocean/digital_ocean_domain.py
|
||||
lib/ansible/modules/cloud/digital_ocean/digital_ocean_sshkey.py
|
||||
lib/ansible/modules/cloud/docker/_docker.py
|
||||
lib/ansible/modules/cloud/docker/docker_container.py
|
||||
lib/ansible/modules/cloud/docker/docker_image.py
|
||||
|
|
Loading…
Add table
Reference in a new issue