aboutsummaryrefslogtreecommitdiff
path: root/layman
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2015-12-26 15:23:34 -0800
committerBrian Dolbec <dolsen@gentoo.org>2015-12-26 15:23:34 -0800
commit5ffbc7aef1251366173a4b01cb4453a585d9e064 (patch)
treee3992e513676cdeda39fc547c74b0b1c0de76aa7 /layman
parentupdater.py: Sets set_db_type installed var to new_name (diff)
downloadlayman-5ffbc7aef1251366173a4b01cb4453a585d9e064.tar.gz
layman-5ffbc7aef1251366173a4b01cb4453a585d9e064.tar.bz2
layman-5ffbc7aef1251366173a4b01cb4453a585d9e064.zip
remotedb.py: Add climit due to sslfetch API change
Diffstat (limited to 'layman')
-rw-r--r--layman/remotedb.py6
1 files 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