Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jaunty
This bug was also reported about the package version 1.9.36.3+nmu1 in Ubuntu at http://launchpad.net/bugs/305234. One of the people experiencing the bug, Matt Brown, came up with the attached patch.
diff -Nru apt-proxy-1.9.36.3+nmu1/apt_proxy/fetchers.py apt-proxy-1.9.36.3+nmu1ubuntu1/apt_proxy/fetchers.py --- apt-proxy-1.9.36.3+nmu1/apt_proxy/fetchers.py 2007-04-17 14:52:07.000000000 -0700 +++ apt-proxy-1.9.36.3+nmu1ubuntu1/apt_proxy/fetchers.py 2009-04-03 10:10:04.000000000 -0700 @@ -932,7 +932,7 @@ log.debug("start next download (%s)" % (self.activeFile.cache_path), 'DownloadQueue') - if self.fetcher is not None: + if self.fetcher is not None and self.fetcher.backendServer is not None: if self.fetcher.backendServer.backend != self.activeFile.backend: log.debug("old:%s new:%s" %(self.fetcher.backendServer.backend,self.activeFile.backend) , 'DownloadQueue')
signature.asc
Description: Digital signature