summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-05-06 15:58:05 +0000
committerGerrit Code Review <review@openstack.org>2019-05-06 15:58:05 +0000
commit8d3ea4bcff35ffa75230f621e6335a8129a4ed5d (patch)
tree17b479439a5fccc3479caa101ae4558061df6d14
parent88b2c09878051851157fc0dda87282b0fd5a4930 (diff)
parentf75a3c85093e88b1a21c054ca63cf934bf6a8bf0 (diff)
downloadgear-8d3ea4bcff35ffa75230f621e6335a8129a4ed5d.tar.gz
Merge "add missing str to bytes conversion for Python3"
-rw-r--r--gear/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gear/__init__.py b/gear/__init__.py
index 8c13c45..56d1126 100644
--- a/gear/__init__.py
+++ b/gear/__init__.py
@@ -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'),