python3/SOURCES/add-oracle-distribution.patch

13 lines
567 B
Diff

diff -ru Python-3.6.6.orig/Lib/platform.py Python-3.6.6/Lib/platform.py
--- Python-3.6.6.orig/Lib/platform.py 2018-06-26 16:39:50.000000000 -0700
+++ Python-3.6.6/Lib/platform.py 2019-02-15 15:36:37.535102909 -0800
@@ -265,7 +265,7 @@
# 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')