As _ImmutableFileNodeBase doesn't implement the interface, move the implementer declaration to LiteralFileNode

This commit is contained in:
Jason R. Coombs 2020-11-29 14:23:59 -05:00
parent cc91b7c9ed
commit 7e757d2ec4

@ -19,7 +19,7 @@ from twisted.protocols import basic
from allmydata.interfaces import IImmutableFileNode, ICheckable
from allmydata.uri import LiteralFileURI
@implementer(IImmutableFileNode, ICheckable)
class _ImmutableFileNodeBase(object):
def get_write_uri(self):
@ -56,6 +56,7 @@ class _ImmutableFileNodeBase(object):
return not self == other
@implementer(IImmutableFileNode, ICheckable)
class LiteralFileNode(_ImmutableFileNodeBase):
def __init__(self, filecap):