Daemons wrongly set six.string_types to (str, bytes)

... that takes permanent effect.
This commit is contained in:
Dmitry Kuzmenko 2020-06-05 15:31:03 +03:00 committed by Daniel Wozniak
parent 6170eac439
commit 3c86a5a9ca

View file

@ -16,9 +16,6 @@ from salt.ext import six
log = logging.getLogger(__name__)
if sys.version_info[0] == 3:
six.string_types = (six.text_type, six.binary_type)
def is_non_string_iterable(obj):
"""