From 8c4ac69b03fbeae655e448fadf0d896ed8b2fb56 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Thu, 18 Feb 2010 05:36:31 +0100 Subject: No longer read same XML file twice --- layman/db.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/layman/db.py b/layman/db.py index c3cc0b2..2a95f47 100644 --- a/layman/db.py +++ b/layman/db.py @@ -315,16 +315,6 @@ class RemoteDB(DbBase): OUT.warn('Failed to update the overlay list from: ' + url + '\nError was:\n' + str(error)) - try: - # Finally parse the contents of the cache - self.read_file(mpath) - except IOError, error: - OUT.warn('Failed to read a cached version of the overlay list f' - 'rom ' + url + '. You probably did not download the fi' - 'le before. The corresponding entry in your layman.cfg' - ' file will be disregarded.\nError was:\n' + str(error) - ) - def path(self, url): '''Return a unique file name for the url.''' -- cgit v1.2.3-65-gdbad