mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
uri.py: fix two interface violations in verifier URI classes. refs #1474
This commit is contained in:
parent
8e69b94588
commit
87a936564e
@ -826,6 +826,13 @@ class MDMFDirectoryURIVerifier(_DirectoryBaseURI):
|
||||
def is_mutable(self):
|
||||
return False
|
||||
|
||||
def is_readonly(self):
|
||||
return True
|
||||
|
||||
def get_readonly(self):
|
||||
return self
|
||||
|
||||
|
||||
class DirectoryURIVerifier(_DirectoryBaseURI):
|
||||
implements(IVerifierURI)
|
||||
|
||||
@ -845,6 +852,12 @@ class DirectoryURIVerifier(_DirectoryBaseURI):
|
||||
def is_mutable(self):
|
||||
return False
|
||||
|
||||
def is_readonly(self):
|
||||
return True
|
||||
|
||||
def get_readonly(self):
|
||||
return self
|
||||
|
||||
|
||||
class ImmutableDirectoryURIVerifier(DirectoryURIVerifier):
|
||||
implements(IVerifierURI)
|
||||
|
Loading…
x
Reference in New Issue
Block a user