commit:     5ffbc7aef1251366173a4b01cb4453a585d9e064
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 26 23:23:34 2015 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat Dec 26 23:23:34 2015 +0000
URL:        https://gitweb.gentoo.org/proj/layman.git/commit/?id=5ffbc7ae

remotedb.py: Add climit due to sslfetch API change

 layman/remotedb.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/layman/remotedb.py b/layman/remotedb.py
index b9c4ae0..5a66a3f 100644
--- a/layman/remotedb.py
+++ b/layman/remotedb.py
@@ -139,13 +139,13 @@ class RemoteDB(DbBase):
                 filepath, mpath, tpath, sig = self._paths(url)
                 if 'file://' in url:
                     success, olist, timestamp = self._fetch_file(
-                        url, mpath, tpath)
+                        url, mpath, tpath, climit=60)
                 elif sig:
                     success, olist, timestamp = fetcher.fetch_content(
-                        url[0], tpath)
+                        url[0], tpath, climit=60)
                 else:
                     success, olist, timestamp = fetcher.fetch_content(
-                        url, tpath)
+                        url, tpath, climit=60)
                 if not success:
                     #succeeded = False
                     continue

Reply via email to