Cris Ewing
2018-05-14 2c32f939b3b766e5020fa8dba2e538f6fe749ced
Sets, when you absolutely, positively want those extra microseconds back
1 files modified
2 ■■■ changed files
pyramid/httpexceptions.py 2 ●●● patch | view | raw | blame | history
pyramid/httpexceptions.py
@@ -1156,7 +1156,7 @@
    if (
            isinstance(value, class_types) and
            issubclass(value, HTTPException) and
            value not in [HTTPClientError, HTTPServerError] and
            value not in {HTTPClientError, HTTPServerError} and
            not name.startswith('_')
    ):
        code = getattr(value, 'code', None)