From 24f91bde15fad346292123a7549ebc1a852493cf Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Mon, 24 Aug 2009 02:21:57 -0700 Subject: [PATCH] Fixed saranwrap bug on 2.6; turns out the warning messed with the communication. --- eventlet/processes.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eventlet/processes.py b/eventlet/processes.py index d3d2a4f..92788aa 100644 --- a/eventlet/processes.py +++ b/eventlet/processes.py @@ -17,6 +17,13 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. +# disable popen2-related warnings until we complete eventlet.green.subprocess +# because they break saranwrap +import warnings +warnings.filterwarnings(action = 'ignore', + message='.*popen2.*', + category=DeprecationWarning) + import errno import os import popen2