summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/util.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-09-29 05:44:27 (GMT)
committerGitHub <noreply@github.com>2017-09-29 05:44:27 (GMT)
commit288d1daadaddf6ae35cf666138ba4b5d07449657 (patch)
tree1cfefe910f99901373d7253bf9be9c5074dee0ea /Lib/distutils/util.py
parenta106aec2ed6ba171838ca7e6ba43c4e722bbecd1 (diff)
downloadcpython-288d1daadaddf6ae35cf666138ba4b5d07449657.zip
cpython-288d1daadaddf6ae35cf666138ba4b5d07449657.tar.gz
cpython-288d1daadaddf6ae35cf666138ba4b5d07449657.tar.bz2
remove support for BSD/OS (closes bpo-31624) (#3812)
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r--Lib/distutils/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index 9394c1e..8368262 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -53,8 +53,8 @@ def get_platform ():
(osname, host, release, version, machine) = os.uname()
- # Convert the OS name to lowercase, remove '/' characters
- # (to accommodate BSD/OS), and translate spaces (for "Power Macintosh")
+ # Convert the OS name to lowercase, remove '/' characters, and translate
+ # spaces (for "Power Macintosh")
osname = osname.lower().replace('/', '')
machine = machine.replace(' ', '_')
machine = machine.replace('/', '-')