mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Fix some tests and flake issues.
This commit is contained in:
parent
0071c1a48d
commit
d91b4f0e40
@ -1,6 +1,6 @@
|
||||
from __future__ import print_function
|
||||
|
||||
import os, signal
|
||||
import os
|
||||
from random import randrange
|
||||
from six.moves import StringIO
|
||||
|
||||
|
@ -370,7 +370,7 @@ def listenOnUnused(tub, portnum=None):
|
||||
"""
|
||||
portnum, endpoint = _foolscapEndpointForPortNumber(portnum)
|
||||
tub.listenOn(endpoint)
|
||||
tub.setLocation("localhost:%d" % (portnum,))
|
||||
tub.setLocation(native_str("localhost:%d" % (portnum,)))
|
||||
return portnum
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user