diff options
| -rw-r--r-- | pyramid/httpexceptions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pyramid/httpexceptions.py b/pyramid/httpexceptions.py index 4702a6e8e..ac4f57738 100644 --- a/pyramid/httpexceptions.py +++ b/pyramid/httpexceptions.py @@ -1156,6 +1156,7 @@ for name, value in list(globals().items()): if ( isinstance(value, class_types) and issubclass(value, HTTPException) and + value not in [HTTPClientError, HTTPServerError] and not name.startswith('_') ): code = getattr(value, 'code', None) |
