summaryrefslogtreecommitdiff
path: root/django/views/debug.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/views/debug.py')
-rw-r--r--django/views/debug.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/django/views/debug.py b/django/views/debug.py
index 80b0e38eb1..15da162493 100644
--- a/django/views/debug.py
+++ b/django/views/debug.py
@@ -269,10 +269,6 @@ class ExceptionReporter(object):
def format_path_status(self, path):
if not os.path.exists(path):
return "File does not exist"
- if not os.path.isfile(path):
- return "Not a file"
- if not os.access(path, os.R_OK):
- return "File is not readable"
return "File exists"
def get_traceback_data(self):