This commit is contained in:
Jean-Paul Calderone 2020-10-16 10:22:42 -04:00
parent a1f1f00be7
commit a73a919a20
5 changed files with 0 additions and 15 deletions

View File

@ -2,8 +2,6 @@ from mock import Mock
import time
from bs4 import BeautifulSoup
from twisted.trial import unittest
from twisted.web.template import Tag
from twisted.web.test.requesthelper import DummyRequest
@ -18,10 +16,6 @@ from ...util.connection_status import ConnectionStatus
from allmydata.web.root import URIHandler
from allmydata.client import _Client
from .common import (
assert_soup_has_tag_with_content,
)
from ..common_web import (
render,
)

View File

@ -43,7 +43,6 @@ from twisted.python.failure import (
Failure,
)
from twisted.internet.defer import (
Deferred,
maybeDeferred,
)
from twisted.web.resource import (

View File

@ -1,10 +1,6 @@
import json
from hyperlink import (
DecodedURL,
)
from twisted.web import http, static
from twisted.internet import defer
from twisted.web.resource import (
@ -484,8 +480,6 @@ class FileDownloader(Resource, object):
d = self.filenode.read(req, first, size)
def _error(f):
lp = log.msg("error during GET", facility="tahoe.webish", failure=f,
level=log.UNUSUAL, umid="xSiF3w")
req._tahoe_request_had_error = f # for HTTP-style logging
if req.startedWriting:
# The content-type is already set, and the response code has

View File

@ -19,7 +19,6 @@ from twisted.application import service
from allmydata.web.common import (
WebError,
get_root,
get_arg,
boolean_of_arg,
exception_to_child,

View File

@ -13,7 +13,6 @@ from twisted.web.template import (
renderElement,
tags,
)
from nevow import url
from allmydata.immutable.upload import FileHandle
from allmydata.mutable.publish import MutableFileHandle
from allmydata.web.common import (