mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-13 13:53:07 +00:00
Merge pull request #671 from tahoe-lafs/3268.deprecations
Avoid the deprecated attrs API
This commit is contained in:
commit
c336467938
0
newsfragments/3268.minor
Normal file
0
newsfragments/3268.minor
Normal file
@ -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