diff options
author | 2015-12-26 15:23:34 -0800 | |
---|---|---|
committer | 2015-12-26 15:23:34 -0800 | |
commit | 5ffbc7aef1251366173a4b01cb4453a585d9e064 (patch) | |
tree | e3992e513676cdeda39fc547c74b0b1c0de76aa7 | |
parent | updater.py: Sets set_db_type installed var to new_name (diff) | |
download | layman-5ffbc7aef1251366173a4b01cb4453a585d9e064.tar.gz layman-5ffbc7aef1251366173a4b01cb4453a585d9e064.tar.bz2 layman-5ffbc7aef1251366173a4b01cb4453a585d9e064.zip |
remotedb.py: Add climit due to sslfetch API change
-rw-r--r-- | layman/remotedb.py | 6 |
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 |