1 |
commit: 5ffbc7aef1251366173a4b01cb4453a585d9e064 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 26 23:23:34 2015 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 26 23:23:34 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=5ffbc7ae |
7 |
|
8 |
remotedb.py: Add climit due to sslfetch API change |
9 |
|
10 |
layman/remotedb.py | 6 +++--- |
11 |
1 file changed, 3 insertions(+), 3 deletions(-) |
12 |
|
13 |
diff --git a/layman/remotedb.py b/layman/remotedb.py |
14 |
index b9c4ae0..5a66a3f 100644 |
15 |
--- a/layman/remotedb.py |
16 |
+++ b/layman/remotedb.py |
17 |
@@ -139,13 +139,13 @@ class RemoteDB(DbBase): |
18 |
filepath, mpath, tpath, sig = self._paths(url) |
19 |
if 'file://' in url: |
20 |
success, olist, timestamp = self._fetch_file( |
21 |
- url, mpath, tpath) |
22 |
+ url, mpath, tpath, climit=60) |
23 |
elif sig: |
24 |
success, olist, timestamp = fetcher.fetch_content( |
25 |
- url[0], tpath) |
26 |
+ url[0], tpath, climit=60) |
27 |
else: |
28 |
success, olist, timestamp = fetcher.fetch_content( |
29 |
- url, tpath) |
30 |
+ url, tpath, climit=60) |
31 |
if not success: |
32 |
#succeeded = False |
33 |
continue |