From 536bcd2666ef721ac9f34de329baaabbc4b9ce86 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 5 Mar 2012 13:06:20 -0500 Subject: Fix NSS no_init in the NSSHTTPS class --- ipapython/nsslib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipapython') diff --git a/ipapython/nsslib.py b/ipapython/nsslib.py index cc6ab1de0..aae24467f 100644 --- a/ipapython/nsslib.py +++ b/ipapython/nsslib.py @@ -298,13 +298,13 @@ class NSSHTTPS(httplib.HTTP): _connection_class = NSSConnection - def __init__(self, host='', port=None, strict=None, dbdir=None): + def __init__(self, host='', port=None, strict=None, dbdir=None, no_init=False): # provide a default host, pass the X509 cert info # urf. compensate for bad input. if port == 0: port = None - self._setup(self._connection_class(host, port, strict, dbdir=dbdir)) + self._setup(self._connection_class(host, port, strict, dbdir=dbdir, no_init=no_init)) def getreply(self): """ -- cgit