From 3462d9c87b92bd6813006ee8eb31d7b8f7b4335e Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 12 Nov 2011 16:49:08 -0500 Subject: [PATCH] trust built-in if its available --- requests/packages/urllib3/_collections.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/requests/packages/urllib3/_collections.py b/requests/packages/urllib3/_collections.py index 912c866..ccc3973 100755 --- 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'] -- 2.7.4