summaryrefslogtreecommitdiff
path: root/zuul/ansible/base/library
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-08-15 02:47:55 +0000
committerGerrit Code Review <review@openstack.org>2022-08-15 02:47:55 +0000
commitbb1b0d5c1108b2b4d21559535e9c120b732e99b2 (patch)
tree9231789089e90ab3b8460409142a3802af9d3320 /zuul/ansible/base/library
parentdbfee8bb2add158971d54932f857bb586045fdfe (diff)
parent3037ce79a1d33595e3a6d72fe22eba027deba2ea (diff)
downloadzuul-bb1b0d5c1108b2b4d21559535e9c120b732e99b2.tar.gz
Merge "zuul_console: do not use f-strings"
Diffstat (limited to 'zuul/ansible/base/library')
-rwxr-xr-xzuul/ansible/base/library/zuul_console.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/zuul/ansible/base/library/zuul_console.py b/zuul/ansible/base/library/zuul_console.py
index f8e4e1e6a..aa999cac1 100755
--- a/zuul/ansible/base/library/zuul_console.py
+++ b/zuul/ansible/base/library/zuul_console.py
@@ -191,7 +191,8 @@ class Server(object):
# NOTE(ianw) : remote sends its version. We currently
# don't have anything to do with this value, so ignore
# for now.
- conn.send(f'{ZUUL_CONSOLE_PROTO_VERSION}\n'.encode('utf-8'))
+ cmd = '%s\n' % (ZUUL_CONSOLE_PROTO_VERSION)
+ conn.send(cmd.encode('utf-8'))
continue
elif command.startswith('f:'):
log_uuid = self._clean_uuid(command[2:])