django1/django/core/files
Jon Dufresne 359be1c870 Fixed #26691 -- Removed checking for a file's existence before deleting.
File operations always raise a ENOENT error when a file doesn't exist.
Checking the file exists before the operation adds a race condition
condition where the file could be removed between operations. As the
operation already raises an error on a missing file, avoid this race and
avoid checking the file exists twice. Instead only check a file exists
by catching the ENOENT error.
2016-05-31 12:03:27 -04:00
..
__init__.py Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
base.py Fixed #26646 -- Added IOBase methods required by TextIOWrapper to File. 2016-05-27 21:05:58 -04:00
images.py Removed unused exception "as" variable. 2015-04-08 13:09:51 -04:00
locks.py Removed executeable bit from a few files. 2014-05-25 23:16:40 +02:00
move.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
storage.py Fixed #26691 -- Removed checking for a file's existence before deleting. 2016-05-31 12:03:27 -04:00
temp.py Fixed #26646 -- Added IOBase methods required by TextIOWrapper to File. 2016-05-27 21:05:58 -04:00
uploadedfile.py Fixed E128 flake8 warnings in django/. 2016-04-08 09:51:06 -04:00
uploadhandler.py Fixed #25331 -- Removed trailing blank lines in docstrings. 2015-08-31 17:37:21 -04:00
utils.py Fixed #26646 -- Added IOBase methods required by TextIOWrapper to File. 2016-05-27 21:05:58 -04:00