projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dd6c40
)
remove cruft
author
Kenneth Reitz
<me@kennethreitz.com>
Tue, 13 Mar 2012 23:44:45 +0000
(16:44 -0700)
committer
Kenneth Reitz
<me@kennethreitz.com>
Tue, 13 Mar 2012 23:44:45 +0000
(16:44 -0700)
requests/sessions.py
patch
|
blob
|
history
diff --git
a/requests/sessions.py
b/requests/sessions.py
index
04d7d5d
..
87320d6
100644
(file)
--- a/
requests/sessions.py
+++ b/
requests/sessions.py
@@
-16,24
+16,12
@@
from .utils import header_expand
from .packages.urllib3.poolmanager import PoolManager
-def dict_to_sequence(d):
- """Returns an internal sequence dictionary update."""
-
- if hasattr(d, 'items'):
- d = d.items()
-
- return d
-
-
def merge_kwargs(local_kwarg, default_kwarg):
"""Merges kwarg dictionaries.
If a local key in the dictionary is set to None, it will be removed.
"""
-
-
-
if default_kwarg is None:
return local_kwarg