diff options
Diffstat (limited to 'lib/ansible/playbook/handler.py')
-rw-r--r-- | lib/ansible/playbook/handler.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/ansible/playbook/handler.py b/lib/ansible/playbook/handler.py index 2f28398..09f122e 100644 --- a/lib/ansible/playbook/handler.py +++ b/lib/ansible/playbook/handler.py @@ -15,9 +15,7 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see <http://www.gnu.org/licenses/>. -# Make coding more python3-ish -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type +from __future__ import annotations from ansible.playbook.attribute import NonInheritableFieldAttribute from ansible.playbook.task import Task @@ -36,7 +34,7 @@ class Handler(Task): super(Handler, self).__init__(block=block, role=role, task_include=task_include) def __repr__(self): - ''' returns a human readable representation of the handler ''' + ''' returns a human-readable representation of the handler ''' return "HANDLER: %s" % self.get_name() @staticmethod |