diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-01-28 12:42:41 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-01-28 12:42:41 +0000 |
| commit | b5288ab022d3733abae25971ca8afb56f1a7011b (patch) | |
| tree | f90af320d66c8349ce4d1bfb8754b0df4b4f9371 /openstack/common/wsgi.py | |
| parent | d6ed770a726590d8072c573ece68ee845f69e513 (diff) | |
| parent | e3e5e0ebce00e73ad5d206205fded6a5dc1317ae (diff) | |
| download | oslo-b5288ab022d3733abae25971ca8afb56f1a7011b.tar.gz oslo-b5288ab022d3733abae25971ca8afb56f1a7011b.tar.xz oslo-b5288ab022d3733abae25971ca8afb56f1a7011b.zip | |
Merge "Fixes "is not", "not in" syntax usage."
Diffstat (limited to 'openstack/common/wsgi.py')
| -rw-r--r-- | openstack/common/wsgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/wsgi.py b/openstack/common/wsgi.py index 1d6d9df..f0096d3 100644 --- a/openstack/common/wsgi.py +++ b/openstack/common/wsgi.py @@ -257,7 +257,7 @@ class Request(webob.Request): Does not do any body introspection, only checks header """ - if not "Content-Type" in self.headers: + if "Content-Type" not in self.headers: return None content_type = self.content_type |
