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:
2584c48
)
trust built-in if its available
author
Kenneth Reitz
<me@kennethreitz.com>
Sat, 12 Nov 2011 21:49:08 +0000
(16:49 -0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sat, 12 Nov 2011 21:49:08 +0000
(16:49 -0500)
requests/packages/urllib3/_collections.py
patch
|
blob
|
history
diff --git
a/requests/packages/urllib3/_collections.py
b/requests/packages/urllib3/_collections.py
index
912c866
..
ccc3973
100755
(executable)
--- a/
requests/packages/urllib3/_collections.py
+++ b/
requests/packages/urllib3/_collections.py
@@
-8,7
+8,10
@@
from collections import deque
from threading import RLock
-from .__collections import MutableMapping
+try:
+ from collections import MutableMapping
+except ImportError:
+ from .__collections import MutableMapping
__all__ = ['RecentlyUsedContainer']