Skip to content
Snippets Groups Projects
Commit c8995679 authored by Dan Michael O. Heggø's avatar Dan Michael O. Heggø
Browse files

Merge branch 'PierreSelim-fix_requests'

parents e1cc288f 39a469a6
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ class Site(object):
def __init__(self, host, path='/w/', ext='.php', pool=None, retry_timeout=30,
max_retries=25, wait_callback=lambda *x: None, clients_useragent=None,
max_lag=3, compress=True, force_login=True, do_init=True, httpauth=None,
requests=None):
reqs=None):
# Setup member variables
self.host = host
self.path = path
......@@ -64,7 +64,7 @@ class Site(object):
self.compress = compress
self.max_lag = text_type(max_lag)
self.force_login = force_login
self.requests = requests or {}
self.requests = reqs or {}
if isinstance(httpauth, (list, tuple)):
self.httpauth = HTTPBasicAuth(*httpauth)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment