mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-06 10:43:14 +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
|
||||
unicode = text_type
|
||||
|
||||
try:
|
||||
# Python 2.6+
|
||||
bytes
|
||||
except NameError:
|
||||
# Python 2.4
|
||||
bytes = binary_type
|
||||
|
||||
try:
|
||||
# Python 2
|
||||
basestring
|
||||
|
||||
Reference in New Issue
Block a user