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:
1da54de
)
backup
author
Kenneth Reitz
<me@kennethreitz.com>
Sat, 19 Nov 2011 20:42:36 +0000
(15:42 -0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sat, 19 Nov 2011 20:42:36 +0000
(15:42 -0500)
requests/packages/oreos/core.py
patch
|
blob
|
history
diff --git
a/requests/packages/oreos/core.py
b/requests/packages/oreos/core.py
index
0cba128
..
359d744
100644
(file)
--- a/
requests/packages/oreos/core.py
+++ b/
requests/packages/oreos/core.py
@@
-7,19
+7,18
@@
oreos.core
The creamy white center.
"""
-from .structures import MultiDict
from .monkeys import SimpleCookie
def dict_from_string(s):
"""Returns a MultiDict with Cookies."""
- cookies =
MultiD
ict()
+ cookies =
d
ict()
c = SimpleCookie()
c.load(s)
for k,v in c.items():
- cookies.
add(k, v.value
)
+ cookies.
update({k: v.value}
)
return cookies
\ No newline at end of file