On Fri, 2011-03-11 at 11:37 +0100, Jakub Hrozek wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 03/11/2011 11:20 AM, Sylvain Baubeau wrote:
> > Yes, I'm using IPv4.
> > It's even worse as the constant 'io.PR_AF_INET' (whose value is 2) is
> > used in this case :)
> > 
> 
> Right..
> 
> Thank you very much for your contribution. I'm guessing we never hit the
> exception because most of our testing is done or a low-latency network..

ACK from me too.

I amended the patch to show the ticket number for better tracking in GIT
- attached. Rest of the patch left unchanged.

Martin
>From 77e66bc52374e68e5c28a508e13353ccdad8cf7e Mon Sep 17 00:00:00 2001
From: Sylvain Baubeau <sylvain.baub...@agorabox.org>
Date: Fri, 11 Mar 2011 03:55:39 +0100
Subject: [PATCH] Removed wrong timeout parameter

https://fedorahosted.org/freeipa/ticket/1086
---
 ipapython/nsslib.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ipapython/nsslib.py b/ipapython/nsslib.py
index 3c42b61ad16d87c06bf2dc2fb2acb10067cece02..1de00243de18139458af536cba2f74a0a334f135 100644
--- a/ipapython/nsslib.py
+++ b/ipapython/nsslib.py
@@ -156,7 +156,7 @@ class NSSAddressFamilyFallback(object):
                 net_addr.port = port
                 logging.debug("connecting: %s", net_addr)
                 try:
-                    self.sock.connect(net_addr, family)
+                    self.sock.connect(net_addr)
                 except Exception, e:
                     logging.debug("Could not connect socket to %s, error: %s, retrying..",
                                   net_addr, str(e))
-- 
1.7.4

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to