From: KIYOHIRO ADACHI Date: Wed, 26 Feb 2014 08:35:07 +0000 (+0900) Subject: Remove unused variable X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5a6227c1b0566d2eab2b46b37eb53141449a22ba;p=openstack-build%2Fcinder-build.git Remove unused variable o cinder/api/openstack/wsgi.py:_CONTENT_TYPE_MAP = { This variable was added in the following commit. commit c53d8e343e50d4cf7ea9a6a81258848c2d893bfb Author: Jenkins Date: Thu May 3 10:48:26 2012 -0700 Initial fork out of Nova. But there is no evidence that was used. Change-Id: I6af64126cf1747ded3369a6237a4cb6cfd250922 --- diff --git a/cinder/api/openstack/wsgi.py b/cinder/api/openstack/wsgi.py index b1138cdb6..c93a088af 100644 --- a/cinder/api/openstack/wsgi.py +++ b/cinder/api/openstack/wsgi.py @@ -37,14 +37,6 @@ XMLNS_ATOM = 'http://www.w3.org/2005/Atom' LOG = logging.getLogger(__name__) -# The vendor content types should serialize identically to the non-vendor -# content types. So to avoid littering the code with both options, we -# map the vendor to the other when looking up the type -_CONTENT_TYPE_MAP = { - 'application/vnd.openstack.volume+json': 'application/json', - 'application/vnd.openstack.volume+xml': 'application/xml', -} - SUPPORTED_CONTENT_TYPES = ( 'application/json', 'application/vnd.openstack.volume+json',