mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-22 02:16:42 +00:00
try making it frozen instead of fiddling with cmp
This commit is contained in:
parent
78aa51d718
commit
ae2abd1b2e
@ -104,10 +104,9 @@ class GetCounter(Resource, object):
|
|||||||
|
|
||||||
|
|
||||||
@implementer(RIDummy)
|
@implementer(RIDummy)
|
||||||
@attr.s(cmp=True, hash=True)
|
@attr.s(frozen=True)
|
||||||
class DummyStorageServer(object):
|
class DummyStorageServer(object):
|
||||||
# TODO Requirement of some interface that instances be hashable
|
get_anonymous_storage_server = attr.ib()
|
||||||
get_anonymous_storage_server = attr.ib(cmp=False)
|
|
||||||
|
|
||||||
def remote_just_some_method(self):
|
def remote_just_some_method(self):
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user