From edcae69800549c20c0bf67a78c7d77b9c719f88b Mon Sep 17 00:00:00 2001 From: Joshua Roesslein Date: Sat, 30 Jan 2010 20:02:59 -0600 Subject: [PATCH] Remove API binding configuration option "timeout". Not used anywhere. --- tweepy/binder.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.25.1