summaryrefslogtreecommitdiff
path: root/Lib/_osx_support.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-05 03:15:39 +0200
committerJesus Cea <jcea@jcea.es>2012-10-05 03:15:39 +0200
commit4791a242688167ffc4abb3b9f42d6cd9e877652e (patch)
tree62a566c811ae808f9dd7a7aa10e655d4d3aad56b /Lib/_osx_support.py
parentf1af7057208da7b3d15703645688fea971a4fb5e (diff)
downloadcpython-git-4791a242688167ffc4abb3b9f42d6cd9e877652e.tar.gz
#16135: Removal of OS/2 support (Python code partial cleanup)
Diffstat (limited to 'Lib/_osx_support.py')
-rw-r--r--Lib/_osx_support.py2
1 files changed, 1 insertions, 1 deletions
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):