]> git.mxchange.org Git - quix0rs-apt-p2p.git/commitdiff
Always try and find the mirror site, even if no updated files have been saved.
authorCameron Dale <camrdale@gmail.com>
Thu, 17 Apr 2008 19:58:59 +0000 (12:58 -0700)
committerCameron Dale <camrdale@gmail.com>
Thu, 17 Apr 2008 19:58:59 +0000 (12:58 -0700)
apt_p2p/MirrorManager.py

index 301c0dbc8332bfa9329a299b2f3ca59ca1b67972..f91db7647459d05ec40c8a4c066bfb943e382080 100644 (file)
@@ -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"))