From 80f8b90b43fe50b52cfacf9b5fb0412fa1fa5ac8 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 15 Apr 2021 15:57:38 -0400 Subject: [PATCH] removed unused imports (#74299) (cherry picked from commit e3eeb88f7c7c6ccd9c30da3fb0b23a000ac344db) --- lib/ansible/plugins/filter/core.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/ansible/plugins/filter/core.py b/lib/ansible/plugins/filter/core.py index 99e9e0e3f59..7a6ccd013fe 100644 --- a/lib/ansible/plugins/filter/core.py +++ b/lib/ansible/plugins/filter/core.py @@ -20,15 +20,12 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type import base64 -import crypt import glob import hashlib -import itertools import json import ntpath import os.path import re -import string import sys import time import uuid @@ -41,8 +38,8 @@ from random import Random, SystemRandom, shuffle from jinja2.filters import environmentfilter, do_groupby as _do_groupby from ansible.errors import AnsibleError, AnsibleFilterError, AnsibleFilterTypeError -from ansible.module_utils.six import iteritems, string_types, integer_types, reraise -from ansible.module_utils.six.moves import reduce, shlex_quote +from ansible.module_utils.six.moves import shlex_quote +from ansible.module_utils.six import string_types, integer_types, reraise from ansible.module_utils._text import to_bytes, to_native, to_text from ansible.module_utils.common.collections import is_sequence from ansible.module_utils.common._collections_compat import Mapping