mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-23 18:13:41 +00:00
Put the attribute on the correct object.
This commit is contained in:
parent
eb1e48bcc3
commit
01d8cc7ab6
@ -44,12 +44,7 @@ class FoolscapOrHttp(Protocol, metaclass=PretendToBeNegotiation):
|
||||
self._buffer: bytes = b""
|
||||
|
||||
def __setattr__(self, name, value):
|
||||
if name in {
|
||||
"_foolscap",
|
||||
"_buffer",
|
||||
"transport",
|
||||
"__class__",
|
||||
}:
|
||||
if name in {"_foolscap", "_buffer", "transport", "__class__", "_timeout"}:
|
||||
object.__setattr__(self, name, value)
|
||||
else:
|
||||
setattr(self._foolscap, name, value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user