uri.py: fix two interface violations in verifier URI classes. refs #1474

This commit is contained in:
david-sarah 2011-09-19 20:01:56 -07:00
parent 8e69b94588
commit 87a936564e

View File

@ -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)