1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

utils/unicode: PEP8 compliancy (#24668)

- Make PEP8 compliant
This commit is contained in:
Dag Wieers 2017-05-16 16:24:22 +02:00 committed by John R Barker
parent f240ba6b60
commit c6533d4da9
2 changed files with 2 additions and 5 deletions

View file

@ -31,9 +31,7 @@ except ImportError:
__all__ = ('to_bytes', 'to_unicode', 'to_str', 'unicode_wrap')
###
### Backwards compat
###
# Backwards compat
def to_bytes(*args, **kwargs):
display.deprecated(u'ansible.utils.unicode.to_bytes is deprecated. Use ansible.module_utils._text.to_bytes instead', version=u'2.4')
@ -55,7 +53,7 @@ def to_str(*args, **kwargs):
kwargs['errors'] = 'replace'
return to_native(*args, **kwargs)
### End Backwards compat
# End Backwards compat
def unicode_wrap(func, *args, **kwargs):

View file

@ -873,7 +873,6 @@ lib/ansible/utils/helpers.py
lib/ansible/utils/listify.py
lib/ansible/utils/path.py
lib/ansible/utils/ssh_functions.py
lib/ansible/utils/unicode.py
lib/ansible/utils/vars.py
lib/ansible/vars/__init__.py
lib/ansible/vars/hostvars.py