mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Foolscap expects a native string.
This commit is contained in:
parent
ce8a575808
commit
74fe9ccf56
@ -321,7 +321,7 @@ def _foolscapEndpointForPortNumber(portnum):
|
||||
# approach is error prone for the reasons described on
|
||||
# https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2787
|
||||
portnum = allocate_tcp_port()
|
||||
return (portnum, "tcp:%d" % (portnum,))
|
||||
return (portnum, native_str("tcp:%d" % (portnum,)))
|
||||
|
||||
|
||||
@implementer(IStreamServerEndpoint)
|
||||
|
Loading…
x
Reference in New Issue
Block a user