From 66c6522325b7740ce575917b9a29755bf193d241 Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Mon, 28 Sep 2020 16:44:50 -0400 Subject: [PATCH] Unused code. --- src/allmydata/immutable/literal.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/allmydata/immutable/literal.py b/src/allmydata/immutable/literal.py index 4832da7c1..f5eca564e 100644 --- a/src/allmydata/immutable/literal.py +++ b/src/allmydata/immutable/literal.py @@ -2,7 +2,6 @@ from io import BytesIO from zope.interface import implementer from twisted.internet import defer -from twisted.internet.interfaces import IPushProducer from twisted.protocols import basic from allmydata.interfaces import IImmutableFileNode, ICheckable from allmydata.uri import LiteralFileURI @@ -45,19 +44,6 @@ class _ImmutableFileNodeBase(object): return True -@implementer(IPushProducer) -class LiteralProducer(object): - - def pauseProducing(self): - pass - - def resumeProducing(self): - pass - - def stopProducing(self): - pass - - class LiteralFileNode(_ImmutableFileNodeBase): def __init__(self, filecap):