From 9e2330b33ce38f0000dfbccb8b39495799d9bfd2 Mon Sep 17 00:00:00 2001 From: Cameron Dale Date: Thu, 17 Apr 2008 12:58:59 -0700 Subject: [PATCH] Always try and find the mirror site, even if no updated files have been saved. --- apt_p2p/MirrorManager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apt_p2p/MirrorManager.py b/apt_p2p/MirrorManager.py index 301c0db..f91db76 100644 --- a/apt_p2p/MirrorManager.py +++ b/apt_p2p/MirrorManager.py @@ -109,6 +109,7 @@ class MirrorManager: @return: a deferred that will fire with the returned L{Hash.HashObject} """ site, baseDir, path = self.extractPath(url) + self.init(site, baseDir) if site in self.apt_caches and baseDir in self.apt_caches[site]: return self.apt_caches[site][baseDir].findHash(path) return defer.fail(MirrorError("Site Not Found")) -- 2.39.2