aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2010-02-18 05:36:31 +0100
committerSebastian Pipping <sebastian@pipping.org>2010-02-18 05:36:31 +0100
commit8c4ac69b03fbeae655e448fadf0d896ed8b2fb56 (patch)
tree8a9a4c9b6f1d5f04f5ccaf8a80c16543a35494fe
parentMove MakeConf class to dedicated file (diff)
downloadlayman-8c4ac69b03fbeae655e448fadf0d896ed8b2fb56.tar.gz
layman-8c4ac69b03fbeae655e448fadf0d896ed8b2fb56.tar.bz2
layman-8c4ac69b03fbeae655e448fadf0d896ed8b2fb56.zip
No longer read same XML file twice
-rw-r--r--layman/db.py10
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.'''