hgext/zeroconf/Zeroconf.py
branchstable
changeset 44956 ba7eda4fcf8e
parent 43735 7eb701e355bd
child 47864 ad2c37075f46
--- 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,