From: Joshua Roesslein Date: Sun, 31 Jan 2010 02:02:59 +0000 (-0600) Subject: Remove API binding configuration option "timeout". Not used anywhere. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=edcae69800549c20c0bf67a78c7d77b9c719f88b;p=tweepy.git Remove API binding configuration option "timeout". Not used anywhere. --- diff --git a/tweepy/binder.py b/tweepy/binder.py index 8efe9dc..1593600 100644 --- a/tweepy/binder.py +++ b/tweepy/binder.py @@ -22,7 +22,6 @@ def bind_api(**config): allowed_param = config.get('allowed_param', []) method = config.get('method', 'GET') require_auth = config.get('require_auth', False) - timeout = config.get('timeout', None) search_api = config.get('search_api', False) def __init__(self, api, args, kargs): @@ -107,7 +106,7 @@ def bind_api(**config): # Query the cache if one is available # and this request uses a GET method. if self.api.cache and self.method == 'GET': - cache_result = self.api.cache.get(url, self.timeout) + cache_result = self.api.cache.get(url) # if cache result found and not expired, return it if cache_result: # must restore api reference