diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-07 19:30:41 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-07 19:30:41 +0000 |
commit | 753da5d98709eb5705254bfe208918d683abc262 (patch) | |
tree | afb2fa597861f4ad000cdef8586de766fb7ea757 | |
parent | b29ca883b3352d25e6c3772f2f23eab74f7ffd82 (diff) | |
download | portage-753da5d98709eb5705254bfe208918d683abc262.tar.gz portage-753da5d98709eb5705254bfe208918d683abc262.tar.bz2 portage-753da5d98709eb5705254bfe208918d683abc262.zip |
Enable pty support on FreeBSD.
svn path=/main/trunk/; revision=14516
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index c2acfc451..c4c20eee1 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3852,7 +3852,7 @@ def _test_pty_eof(): # In some cases, openpty can be slow when it fails. Therefore, # stop trying to use it after the first failure. -if platform.system() not in ["Linux"]: +if platform.system() not in ["FreeBSD", "Linux"]: # Disable the use of openpty on Solaris as it seems Python's openpty # implementation doesn't play nice on Solaris with Portage's # behaviour causing hangs/deadlocks. |