mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Assorted pylint fixes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/python
|
||||
# Copyright 2017, Ansible Project
|
||||
#
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright: (c) 2017, Ansible Project
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
from __future__ import absolute_import, division, print_function
|
||||
@@ -55,7 +56,7 @@ from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
def send_msg(module, token, msg, api, port):
|
||||
|
||||
message = "{} {}\n".format(token, msg)
|
||||
message = "{0} {1}\n".format(token, msg)
|
||||
|
||||
api_ip = socket.gethostbyname(api)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user