from foolscap.api import eventually
from allmydata.util import log
from allmydata.util.spans import overlap
+from allmydata.interfaces import DownloadStopped
-from common import BadSegmentNumberError, WrongSegmentError, DownloadStopped
+from common import BadSegmentNumberError, WrongSegmentError
class Segmentation:
"""I am responsible for a single offset+size read of the file. I handle