more flake8 fixes, in wormhole.py and _interfaces.py

This commit is contained in:
Brian Warner 2018-06-30 16:24:28 -07:00
parent bf0c93eddc
commit 5f61531445
2 changed files with 14 additions and 3 deletions

View File

@ -434,15 +434,26 @@ class IInputHelper(Interface):
class IJournal(Interface): # TODO: this needs to be public
pass
class IDilator(Interface):
pass
class IDilationManager(Interface):
pass
class IDilationConnector(Interface):
pass
class ISubChannel(Interface):
pass
class IInbound(Interface):
pass
class IOutbound(Interface):
pass

View File

@ -191,7 +191,7 @@ class _DeferredWormhole(object):
return derive_key(self._key, to_bytes(purpose), length)
def dilate(self):
return self._boss.dilate() # fires with (endpoints)
return self._boss.dilate() # fires with (endpoints)
def close(self):
# fails with WormholeError unless we established a connection
@ -273,8 +273,8 @@ def create(
wormhole_versions = {
"can-dilate": [1],
"dilation-abilities": Connector.get_connection_abilities(),
}
wormhole_versions["app_versions"] = versions # app-specific capabilities
}
wormhole_versions["app_versions"] = versions # app-specific capabilities
v = __version__
if isinstance(v, type(b"")):
v = v.decode("utf-8", errors="replace")