From 96b2700516454b213569869ba11d84525d45d233 Mon Sep 17 00:00:00 2001 From: Samuel Sutch Date: Thu, 10 Jul 2014 14:27:30 -0600 Subject: [PATCH] Remove unneeded Mapping compat code --- rest_framework/compat.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rest_framework/compat.py b/rest_framework/compat.py index 5649370ea..fdf12448a 100644 --- a/rest_framework/compat.py +++ b/rest_framework/compat.py @@ -79,12 +79,6 @@ except ImportError: from collections import UserDict from collections import MutableMapping as DictMixin -# Mapping is new in python 2.6 -try: - from collections import Mapping -except ImportError: - Mapping = dict - # Try to import PIL in either of the two ways it can end up installed. try: from PIL import Image