X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=apt_p2p%2Fapt_p2p.py;h=385e27571226a2c8f32571bac3b39b46b205c95b;hb=93d19a10800dde7d6bfbc3fa63b0a41507a43446;hp=c7e6d6726078e96a7c3245bccacd64c70e8fa03e;hpb=f38a88ed92874d4f976feb29deed71737648bd2e;p=quix0rs-apt-p2p.git diff --git a/apt_p2p/apt_p2p.py b/apt_p2p/apt_p2p.py index c7e6d67..385e275 100644 --- a/apt_p2p/apt_p2p.py +++ b/apt_p2p/apt_p2p.py @@ -179,8 +179,6 @@ class AptP2P(protocol.Factory): @param url: the URI of the actual mirror request @type orig_resp: L{twisted.web2.http.Response} @param orig_resp: the response from the cache to be sent to apt - @rtype: L{twisted.internet.defer.Deferred} - @return: a deferred that will be called back with the correct response """ log.msg('Checking if %s is still fresh' % url) modtime = orig_resp.headers.getHeader('Last-Modified')