Merge "add missing str to bytes conversion for Python3"

This commit is contained in:
Zuul 2019-05-06 15:58:05 +00:00 committed by Gerrit Code Review
commit 8d3ea4bcff
1 changed files with 1 additions and 1 deletions

View File

@ -3273,7 +3273,7 @@ class Server(BaseClientServer):
for connection in self.active_connections:
fd = connection.conn.fileno()
ip = connection.host
client_id = connection.client_id or '-'
client_id = connection.client_id or b'-'
functions = b' '.join(connection.functions).decode('utf8')
request.connection.sendRaw(("%s %s %s : %s\n" %
(fd, ip, client_id.decode('utf8'),