summaryrefslogtreecommitdiff
path: root/django/core/files/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/core/files/base.py')
-rw-r--r--django/core/files/base.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/django/core/files/base.py b/django/core/files/base.py
index a27d363658..11049a45de 100644
--- a/django/core/files/base.py
+++ b/django/core/files/base.py
@@ -64,10 +64,6 @@ class File(FileProxyMixin):
size = property(_get_size, _set_size)
- def _get_closed(self):
- return not self.file or self.file.closed
- closed = property(_get_closed)
-
def chunks(self, chunk_size=None):
"""
Read the file and yield chunks of ``chunk_size`` bytes (defaults to