mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 18:06:46 +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
|
# approach is error prone for the reasons described on
|
||||||
# https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2787
|
# https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2787
|
||||||
portnum = allocate_tcp_port()
|
portnum = allocate_tcp_port()
|
||||||
return (portnum, "tcp:%d" % (portnum,))
|
return (portnum, native_str("tcp:%d" % (portnum,)))
|
||||||
|
|
||||||
|
|
||||||
@implementer(IStreamServerEndpoint)
|
@implementer(IStreamServerEndpoint)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user