diff options
author | Devan Franchini <twitch153@gentoo.org> | 2016-03-09 18:37:13 -0500 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2016-03-09 18:37:15 -0500 |
commit | 5f5e2626e0f4a5c3acca62083ce479828597462f (patch) | |
tree | e57d32f442756bd0cafdeaaa0a86af96f8e648e9 | |
parent | dbbase.py: adds return value for read_db() (diff) | |
download | layman-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.py | 2 |
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 |