Merge pull request #671 from tahoe-lafs/3268.deprecations

Avoid the deprecated attrs API
This commit is contained in:
meejah 2019-12-18 22:52:01 +00:00 committed by GitHub
commit c336467938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

0
newsfragments/3268.minor Normal file
View File

View 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