cosmetic changes, remove debug print

This commit is contained in:
Brian Warner 2018-04-03 17:05:33 -07:00
parent 1197e5fb6d
commit 0dd3a12546
3 changed files with 3 additions and 5 deletions

View File

@ -1451,7 +1451,6 @@ class Rendezvous(unittest.TestCase):
journal = ImmediateJournal()
tor_manager = None
client_version = ("python", __version__)
print(client_version)
rc = _rendezvous.RendezvousConnector("ws://host:4000/v1", "appid",
"side", reactor,
journal, tor_manager,

View File

@ -231,11 +231,10 @@ def create(appid, relay_url, reactor, # use keyword args for everything else
w = _DeferredWormhole(eq)
wormhole_versions = {} # will be used to indicate Wormhole capabilities
wormhole_versions["app_versions"] = versions # app-specific capabilities
if (type(__version__) == str):
if type(__version__) == str:
client_version = ("python", __version__)
else:
client_version = ("python", __version__.decode("utf-8", errors="replace"))
b = Boss(w, side, relay_url, appid, wormhole_versions, client_version,
reactor, journal, tor, timing)
w._set_boss(b)