• Jon Dufresne's avatar
    Fixed #26691 -- Removed checking for a file's existence before deleting. · 359be1c8
    Jon Dufresne yazdı
    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.
    359be1c8
Adı
Son kayıt (commit)
Son güncelleme
..
apps Loading commit data...
project Loading commit data...
urls Loading commit data...
__init__.py Loading commit data...
cases.py Loading commit data...
settings.py Loading commit data...
storage.py Loading commit data...
test_finders.py Loading commit data...
test_forms.py Loading commit data...
test_liveserver.py Loading commit data...
test_management.py Loading commit data...
test_storage.py Loading commit data...
test_templatetags.py Loading commit data...
test_views.py Loading commit data...