diff options
Diffstat (limited to 'lib/ansible/playbook/task.py')
-rw-r--r-- | lib/ansible/playbook/task.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/ansible/playbook/task.py b/lib/ansible/playbook/task.py index fa1114a..7f54639 100644 --- a/lib/ansible/playbook/task.py +++ b/lib/ansible/playbook/task.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 import constants as C from ansible.errors import AnsibleError, AnsibleParserError, AnsibleUndefinedVariable, AnsibleAssertionError @@ -136,7 +134,7 @@ class Task(Base, Conditional, Taggable, CollectionSearch, Notifiable, Delegatabl return t.load_data(data, variable_manager=variable_manager, loader=loader) def __repr__(self): - ''' returns a human readable representation of the task ''' + ''' returns a human-readable representation of the task ''' if self.action in C._ACTION_META: return "TASK: meta (%s)" % self.args['_raw_params'] else: |