Author: Matti Picus <matti.pi...@gmail.com> Branch: Changeset: r98244:acd5d36a7b4c Date: 2019-12-07 07:06 +0200 http://bitbucket.org/pypy/pypy/changeset/acd5d36a7b4c/
Log: revert centos6 special case diff --git a/pypy/module/_minimal_curses/fficurses.py b/pypy/module/_minimal_curses/fficurses.py --- a/pypy/module/_minimal_curses/fficurses.py +++ b/pypy/module/_minimal_curses/fficurses.py @@ -9,12 +9,6 @@ # various versions. For example it might not list -ltinfo even though # it's needed, or --cflags might be completely empty. Crap. -IS_CENTOS_6_10 = False -try: - with open('/etc/redhat-release') as fid: - for line in fid: - if 'CentOS release 6.10' in line: - IS_CENTOS_6_10 = True except IOError: pass @@ -38,8 +32,6 @@ library_dirs=['/usr/lib64']) def try_tools(): - if IS_CENTOS_6_10: - return try: yield ExternalCompilationInfo.from_pkg_config("ncurses") except Exception: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit