diff options
Diffstat (limited to 'django/views/debug.py')
| -rw-r--r-- | django/views/debug.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/debug.py b/django/views/debug.py index b59fe29bdd..1128301c57 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -357,7 +357,7 @@ class ExceptionReporter: try: with open(filename, 'rb') as fp: source = fp.read().splitlines() - except (OSError, IOError): + except OSError: pass if source is None: return None, [], None, [] |
