diff options
author | Zuul <zuul@review.opendev.org> | 2022-08-15 02:47:55 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-08-15 02:47:55 +0000 |
commit | bb1b0d5c1108b2b4d21559535e9c120b732e99b2 (patch) | |
tree | 9231789089e90ab3b8460409142a3802af9d3320 /zuul/ansible/base/library | |
parent | dbfee8bb2add158971d54932f857bb586045fdfe (diff) | |
parent | 3037ce79a1d33595e3a6d72fe22eba027deba2ea (diff) | |
download | zuul-bb1b0d5c1108b2b4d21559535e9c120b732e99b2.tar.gz |
Merge "zuul_console: do not use f-strings"
Diffstat (limited to 'zuul/ansible/base/library')
-rwxr-xr-x | zuul/ansible/base/library/zuul_console.py | 3 |
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:]) |