From 4791a242688167ffc4abb3b9f42d6cd9e877652e Mon Sep 17 00:00:00 2001 From: Jesus Cea Date: Fri, 5 Oct 2012 03:15:39 +0200 Subject: #16135: Removal of OS/2 support (Python code partial cleanup) --- Lib/_osx_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/_osx_support.py') diff --git a/Lib/_osx_support.py b/Lib/_osx_support.py index b3aad56582..10767784bf 100644 --- a/Lib/_osx_support.py +++ b/Lib/_osx_support.py @@ -38,7 +38,7 @@ def _find_executable(executable, path=None): paths = path.split(os.pathsep) base, ext = os.path.splitext(executable) - if (sys.platform == 'win32' or os.name == 'os2') and (ext != '.exe'): + if (sys.platform == 'win32') and (ext != '.exe'): executable = executable + '.exe' if not os.path.isfile(executable): -- cgit v1.2.1