diff options
| author | Tim Graham <timograham@gmail.com> | 2017-10-23 08:53:42 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-10-23 08:56:41 -0400 |
| commit | 7fb913c80555594a6dd756733fdb5869d5dba213 (patch) | |
| tree | 26f0f721f8e039406a7b6cc593902e0d662c1fe1 | |
| parent | 68407e3545f4b3e051c87cd530c97765bf2cdd80 (diff) | |
Removed Python 2 comment in ValidationError.
| -rw-r--r-- | django/core/exceptions.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/core/exceptions.py b/django/core/exceptions.py index 86a3988585..0e85397b9c 100644 --- a/django/core/exceptions.py +++ b/django/core/exceptions.py @@ -102,8 +102,6 @@ class ValidationError(Exception): list or dictionary can be an actual `list` or `dict` or an instance of ValidationError with its `error_list` or `error_dict` attribute set. """ - - # PY2 can't pickle naive exception: http://bugs.python.org/issue1692335. super().__init__(message, code, params) if isinstance(message, ValidationError): |
