aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2016-03-09 18:37:13 -0500
committerDevan Franchini <twitch153@gentoo.org>2016-03-09 18:37:15 -0500
commit5f5e2626e0f4a5c3acca62083ce479828597462f (patch)
treee57d32f442756bd0cafdeaaa0a86af96f8e648e9
parentdbbase.py: adds return value for read_db() (diff)
downloadlayman-5f5e2626e0f4a5c3acca62083ce479828597462f.tar.gz
layman-5f5e2626e0f4a5c3acca62083ce479828597462f.tar.bz2
layman-5f5e2626e0f4a5c3acca62083ce479828597462f.zip
remotedb.py: Adds climit param to _fetch_file() definition
Following up on the updating of ssl-fetch's API update in commit 5ffbc7ae to make use of climit parameter.
-rw-r--r--layman/remotedb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/layman/remotedb.py b/layman/remotedb.py
index 75f6739..acade02 100644
--- a/layman/remotedb.py
+++ b/layman/remotedb.py
@@ -222,7 +222,7 @@ class RemoteDB(DbBase):
return base + '_' + hashlib.md5(url_encoded).hexdigest()
- def _fetch_file(self, url, mpath, tpath=None):
+ def _fetch_file(self, url, mpath, tpath=None, climit=60):
self.output.debug('RemoteDB._fetch_file() url = %s' % url, 2)
# check when the cache was last updated
# and don't re-fetch it unless it has changed