trust built-in if its available
authorKenneth Reitz <me@kennethreitz.com>
Sat, 12 Nov 2011 21:49:08 +0000 (16:49 -0500)
committerKenneth Reitz <me@kennethreitz.com>
Sat, 12 Nov 2011 21:49:08 +0000 (16:49 -0500)
requests/packages/urllib3/_collections.py

index 912c866..ccc3973 100755 (executable)
@@ -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']