From 912bd25a4e8b6a8f2b5422dcbde6decf5f60c6ba Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Mon, 14 May 2018 14:21:31 +0200 Subject: [PATCH] Drop deprecated Python 2.4 compat shim --- lib/ansible/module_utils/basic.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index 53e11441a1e..221f08c4fac 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -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