summaryrefslogtreecommitdiff
path: root/paste/httpexceptions.py
diff options
context:
space:
mode:
authorCyril Roelandt <cyril.roelandt@enovance.com>2014-03-18 12:01:07 +0100
committerCyril Roelandt <cyril.roelandt@enovance.com>2014-03-18 12:01:07 +0100
commit4befe65b5410583cb069e0234d11eda4718719e4 (patch)
tree5db42ab4e9ca993fb6703fe20945c3618c83400f /paste/httpexceptions.py
parent4262b41da195cb959abf4a5a06ce34a6dec2c4a3 (diff)
downloadpaste-4befe65b5410583cb069e0234d11eda4718719e4.tar.gz
Python 3: Replace "for name, value in dict.items()" with "for name, value in six.iteritems(dict)"
Diffstat (limited to 'paste/httpexceptions.py')
-rw-r--r--paste/httpexceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/httpexceptions.py b/paste/httpexceptions.py
index 59d5b06..af60627 100644
--- a/paste/httpexceptions.py
+++ b/paste/httpexceptions.py
@@ -588,7 +588,7 @@ class HTTPVersionNotSupported(HTTPServerError):
__all__ = ['HTTPException', 'HTTPRedirection', 'HTTPError' ]
_exceptions = {}
-for name, value in globals().items():
+for name, value in six.iteritems(globals()):
if (isinstance(value, (type, types.ClassType)) and
issubclass(value, HTTPException) and
value.code):