commit: 5f5e2626e0f4a5c3acca62083ce479828597462f Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org> AuthorDate: Wed Mar 9 23:37:13 2016 +0000 Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org> CommitDate: Wed Mar 9 23:37:15 2016 +0000 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=5f5e2626
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. layman/remotedb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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