Mercurial > hg
changeset 44956:ba7eda4fcf8e stable
zeroconf: fix non existant formatting in the vendored zeroconf module
On Tue Mar 1st 2016 at 09:33:39 timeless decided to wrap long line in
`hgext/zeroconf/Zeroconf.py`. Doing so, he fat fingered a "%w" instead of a "%s"
in a string. %w does not exists, 4 year later, pyflakes (rightfully) complains
about it. So I am fixing it.
Differential Revision: https://phab.mercurial-scm.org/D8627
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 13 Jun 2020 11:06:22 +0200 |
parents | b77d5b568496 |
children | 1ca0d5cae9bc |
files | hgext/zeroconf/Zeroconf.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/zeroconf/Zeroconf.py Fri Jun 12 14:22:34 2020 -0700 +++ b/hgext/zeroconf/Zeroconf.py Sat Jun 13 11:06:22 2020 +0200 @@ -1647,7 +1647,7 @@ and record.alias == info.name ): if info.name.find(b'.') < 0: - info.name = b"%w.[%s:%d].%s" % ( + info.name = b"%s.[%s:%d].%s" % ( info.name, info.address, info.port,