summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-03-05 13:06:20 -0500
committerRob Crittenden <rcritten@redhat.com>2012-03-04 20:03:07 -0500
commit5fbeac0de2fc94916f37200968b1de656e166109 (patch)
tree55259f2fdbb75e452ac77a7d5940a45664acbf03
parentcde4a1977880808ff511c99c12cb700746815377 (diff)
downloadfreeipa.git-5fbeac0de2fc94916f37200968b1de656e166109.tar.gz
freeipa.git-5fbeac0de2fc94916f37200968b1de656e166109.tar.xz
freeipa.git-5fbeac0de2fc94916f37200968b1de656e166109.zip
Fix NSS no_init in the NSSHTTPS classrc_1-2-1-90
-rw-r--r--ipapython/nsslib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipapython/nsslib.py b/ipapython/nsslib.py
index cc6ab1de..aae24467 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):
"""