diff --git a/Lib/platform.py b/Lib/platform.py index dc981ec144cc071..e5bb1bb9f987b2f 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -265,7 +265,7 @@ def _dist_try_harder(distname, version, id): # and http://www.die.net/doc/linux/man/man1/lsb_release.1.html _supported_dists = ( - 'SuSE', 'debian', 'fedora', 'redhat', 'centos', + 'SuSE', 'debian', 'fedora', 'redhat', 'centos', 'oracle' 'mandrake', 'mandriva', 'rocks', 'slackware', 'yellowdog', 'gentoo', 'UnitedLinux', 'turbolinux', 'arch', 'mageia') diff --git a/Misc/NEWS.d/next/Library/2018-04-28-11-30-33.bpo-19213.UV50t3.rst b/Misc/NEWS.d/next/Library/2018-04-28-11-30-33.bpo-19213.UV50t3.rst new file mode 100644 index 000000000000000..475ae7044fdc454 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-04-28-11-30-33.bpo-19213.UV50t3.rst @@ -0,0 +1,2 @@ ++Return Oracle OS information in ``platform.linux_distibution()`` ++instead of RedHat. Patch by Komail Kanjee.