diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-12-30 05:26:15 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-12-30 05:26:15 +0000 |
commit | 705802ea5c41cc02f89fee15bcdf3280aa300149 (patch) | |
tree | 5b963921f22887b64c9b1f52f22275d2fc40590c | |
parent | fa815cfb2fe4ce4f5d99f2ef1c8780f8589368f6 (diff) | |
parent | de49b533295de07ec88c339deeb9c8249d2074bb (diff) | |
download | oslo-middleware-705802ea5c41cc02f89fee15bcdf3280aa300149.tar.gz |
Merge "Replace six.iteritems() with .items()"
-rw-r--r-- | oslo_middleware/debug.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/oslo_middleware/debug.py b/oslo_middleware/debug.py index fb2fc82..08eb0a0 100644 --- a/oslo_middleware/debug.py +++ b/oslo_middleware/debug.py @@ -19,7 +19,6 @@ from __future__ import print_function import sys -import six import webob.dec from oslo_middleware import base @@ -41,7 +40,7 @@ class Debug(base.ConfigurableMiddleware): resp = req.get_response(self.application) print(("*" * 40) + " RESPONSE HEADERS") - for (key, value) in six.iteritems(resp.headers): + for (key, value) in resp.headers.items(): print(key, "=", value) print() |