Merge "Set self.allow to a dict if None is passed"
This commit is contained in:
commit
c14df5da19
@ -114,7 +114,7 @@ class Adapter(object):
|
|||||||
self.auth = auth
|
self.auth = auth
|
||||||
self.connect_retries = connect_retries
|
self.connect_retries = connect_retries
|
||||||
self.logger = logger
|
self.logger = logger
|
||||||
self.allow = allow
|
self.allow = allow or {}
|
||||||
self.additional_headers = additional_headers or {}
|
self.additional_headers = additional_headers or {}
|
||||||
self.allow_version_hack = allow_version_hack
|
self.allow_version_hack = allow_version_hack
|
||||||
self.min_version = min_version
|
self.min_version = min_version
|
||||||
|
Loading…
Reference in New Issue
Block a user