mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
Fix NSS no_init in the NSSHTTPS class
This commit is contained in:
parent
10478ac8a1
commit
536bcd2666
@ -298,13 +298,13 @@ class NSSHTTPS(httplib.HTTP):
|
|||||||
|
|
||||||
_connection_class = NSSConnection
|
_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
|
# provide a default host, pass the X509 cert info
|
||||||
|
|
||||||
# urf. compensate for bad input.
|
# urf. compensate for bad input.
|
||||||
if port == 0:
|
if port == 0:
|
||||||
port = None
|
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):
|
def getreply(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user