mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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.pycompat24 import get_exception
|
||||
|
||||
|
||||
class DeployHelper(object):
|
||||
|
||||
def __init__(self, module):
|
||||
|
@ -460,6 +461,7 @@ class DeployHelper(object):
|
|||
|
||||
return previous_release, previous_release_path
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
module = AnsibleModule(
|
||||
|
@ -530,7 +532,5 @@ def main():
|
|||
module.exit_json(**result)
|
||||
|
||||
|
||||
|
||||
|
||||
if __name__ == '__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_team.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/jboss.py
|
||||
lib/ansible/modules/windows/win_disk_image.py
|
||||
|
|
Loading…
Reference in a new issue