summaryrefslogtreecommitdiff
path: root/Lib/imputil.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-05-05 19:09:31 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2010-05-05 19:09:31 +0000
commit9545a23c7ffb35417d451d24cc3b0339627965a7 (patch)
tree5e22fd30c1c6936970b4d87ca3e91f8428c74983 /Lib/imputil.py
parenta8157183b89c08cf47c969185d40973ec21a81c5 (diff)
downloadcpython-git-9545a23c7ffb35417d451d24cc3b0339627965a7.tar.gz
In a number of places code still revers
to "sys.platform == 'mac'" and that is dead code because it refers to a platform that is no longer supported (and hasn't been supported for several releases). Fixes issue #7908 for the trunk.
Diffstat (limited to 'Lib/imputil.py')
-rw-r--r--Lib/imputil.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/imputil.py b/Lib/imputil.py
index 600cfa51aa..a5fa6ea4f7 100644
--- a/Lib/imputil.py
+++ b/Lib/imputil.py
@@ -462,16 +462,6 @@ def _os_bootstrap():
elif 'os2' in names:
sep = '\\'
from os2 import stat
- elif 'mac' in names:
- from mac import stat
- def join(a, b):
- if a == '':
- return b
- if ':' not in a:
- a = ':' + a
- if a[-1:] != ':':
- a = a + ':'
- return a + b
else:
raise ImportError, 'no os specific module found'