From 64618bcb644fd288f5e7fcc8d9a64ce7fd3fa849 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 3 Feb 2019 17:33:48 -0800 Subject: [PATCH] manager: tidy up repr, leave out keys and some other fields --- src/wormhole/_dilation/manager.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wormhole/_dilation/manager.py b/src/wormhole/_dilation/manager.py index 8e2a0e0..ad74e92 100644 --- a/src/wormhole/_dilation/manager.py +++ b/src/wormhole/_dilation/manager.py @@ -90,13 +90,13 @@ def make_side(): @attrs(hash=True) @implementer(IDilationManager) class Manager(object): - _S = attrib(validator=provides(ISend)) + _S = attrib(validator=provides(ISend), repr=False) _my_side = attrib(validator=instance_of(type(u""))) - _transit_key = attrib(validator=instance_of(bytes)) + _transit_key = attrib(validator=instance_of(bytes), repr=False) _transit_relay_location = attrib(validator=optional(instance_of(str))) - _reactor = attrib() - _eventual_queue = attrib() - _cooperator = attrib() + _reactor = attrib(repr=False) + _eventual_queue = attrib(repr=False) + _cooperator = attrib(repr=False) _no_listen = False # TODO _tor = None # TODO _timing = None # TODO