Merge "Python3: use six.iteritems() instead of dict.iteritems()"
This commit is contained in:
@@ -33,6 +33,7 @@ from oslo_log import loggers
|
||||
from oslo_serialization import jsonutils
|
||||
from oslo_utils import excutils
|
||||
import routes.middleware
|
||||
import six
|
||||
import webob.dec
|
||||
import webob.exc
|
||||
|
||||
@@ -666,7 +667,7 @@ class Debug(Middleware):
|
||||
resp = req.get_response(self.application)
|
||||
|
||||
print(("*" * 40) + " RESPONSE HEADERS")
|
||||
for (key, value) in resp.headers.iteritems():
|
||||
for (key, value) in six.iteritems(resp.headers):
|
||||
print(key, "=", value)
|
||||
print()
|
||||
|
||||
|
Reference in New Issue
Block a user