mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-09 11:01:46 +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)
|
@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