mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Drop deprecated Python 2.4 compat shim
This commit is contained in:
parent
e1ae082a1e
commit
912bd25a4e
1 changed files with 0 additions and 7 deletions
|
@ -196,13 +196,6 @@ except NameError:
|
|||
# Python 3
|
||||
unicode = text_type
|
||||
|
||||
try:
|
||||
# Python 2.6+
|
||||
bytes
|
||||
except NameError:
|
||||
# Python 2.4
|
||||
bytes = binary_type
|
||||
|
||||
try:
|
||||
# Python 2
|
||||
basestring
|
||||
|
|
Loading…
Reference in a new issue