From 753da5d98709eb5705254bfe208918d683abc262 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 7 Oct 2009 19:30:41 +0000 Subject: [PATCH] Enable pty support on FreeBSD. svn path=/main/trunk/; revision=14516 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.26.2