mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Drop deprecated Python 2.4 compat shim
This commit is contained in:
committed by
Sviatoslav Sydorenko
parent
e1ae082a1e
commit
912bd25a4e
@@ -196,13 +196,6 @@ except NameError:
|
|||||||
# Python 3
|
# Python 3
|
||||||
unicode = text_type
|
unicode = text_type
|
||||||
|
|
||||||
try:
|
|
||||||
# Python 2.6+
|
|
||||||
bytes
|
|
||||||
except NameError:
|
|
||||||
# Python 2.4
|
|
||||||
bytes = binary_type
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Python 2
|
# Python 2
|
||||||
basestring
|
basestring
|
||||||
|
|||||||
Reference in New Issue
Block a user