mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 21:01:27 -07:00
Pep8 fixes for deploy_helper (#24237)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
73c24001d9
commit
465c12ccdb
2 changed files with 45 additions and 46 deletions
|
@ -287,6 +287,7 @@ EXAMPLES = '''
|
||||||
from ansible.module_utils.basic import *
|
from ansible.module_utils.basic import *
|
||||||
from ansible.module_utils.pycompat24 import get_exception
|
from ansible.module_utils.pycompat24 import get_exception
|
||||||
|
|
||||||
|
|
||||||
class DeployHelper(object):
|
class DeployHelper(object):
|
||||||
|
|
||||||
def __init__(self, module):
|
def __init__(self, module):
|
||||||
|
@ -460,6 +461,7 @@ class DeployHelper(object):
|
||||||
|
|
||||||
return previous_release, previous_release_path
|
return previous_release, previous_release_path
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
|
@ -530,7 +532,5 @@ def main():
|
||||||
module.exit_json(**result)
|
module.exit_json(**result)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -767,7 +767,6 @@ lib/ansible/modules/web_infrastructure/ansible_tower/tower_project.py
|
||||||
lib/ansible/modules/web_infrastructure/ansible_tower/tower_role.py
|
lib/ansible/modules/web_infrastructure/ansible_tower/tower_role.py
|
||||||
lib/ansible/modules/web_infrastructure/ansible_tower/tower_team.py
|
lib/ansible/modules/web_infrastructure/ansible_tower/tower_team.py
|
||||||
lib/ansible/modules/web_infrastructure/ansible_tower/tower_user.py
|
lib/ansible/modules/web_infrastructure/ansible_tower/tower_user.py
|
||||||
lib/ansible/modules/web_infrastructure/deploy_helper.py
|
|
||||||
lib/ansible/modules/web_infrastructure/ejabberd_user.py
|
lib/ansible/modules/web_infrastructure/ejabberd_user.py
|
||||||
lib/ansible/modules/web_infrastructure/jboss.py
|
lib/ansible/modules/web_infrastructure/jboss.py
|
||||||
lib/ansible/modules/windows/win_disk_image.py
|
lib/ansible/modules/windows/win_disk_image.py
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue