diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2010-02-18 05:36:31 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2010-02-18 05:36:31 +0100 |
commit | 8c4ac69b03fbeae655e448fadf0d896ed8b2fb56 (patch) | |
tree | 8a9a4c9b6f1d5f04f5ccaf8a80c16543a35494fe /layman/db.py | |
parent | 0920b37df448fda795a77a698fb82e23fdfdb20d (diff) | |
download | layman-8c4ac69b03fbeae655e448fadf0d896ed8b2fb56.tar.gz layman-8c4ac69b03fbeae655e448fadf0d896ed8b2fb56.tar.bz2 layman-8c4ac69b03fbeae655e448fadf0d896ed8b2fb56.zip |
No longer read same XML file twice
Diffstat (limited to 'layman/db.py')
-rw-r--r-- | layman/db.py | 10 |
1 files changed, 0 insertions, 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.''' |