mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Py3: fix ipa-replica-conncheck
ipa-replica-conncheck is using the socket methods sendall() and sendto() with str. Theses methods expect str params in python2 but bytes in python3. Related to https://pagure.io/freeipa/issue/7131 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
parent
59802d37d1
commit
d8b3e53ce1
@ -290,7 +290,7 @@ class PortResponder(threading.Thread):
|
||||
self._sockets = []
|
||||
self._close = False
|
||||
self._close_lock = threading.Lock()
|
||||
self.responder_data = 'FreeIPA'
|
||||
self.responder_data = b'FreeIPA'
|
||||
self.ports_opened = False
|
||||
self.ports_open_cond = threading.Condition()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user