mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +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)
|
||||
@attr.s(cmp=True, hash=True)
|
||||
@attr.s(frozen=True)
|
||||
class DummyStorageServer(object):
|
||||
# TODO Requirement of some interface that instances be hashable
|
||||
get_anonymous_storage_server = attr.ib(cmp=False)
|
||||
get_anonymous_storage_server = attr.ib()
|
||||
|
||||
def remote_just_some_method(self):
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user