diff options
| author | django-bot <ops@djangoproject.com> | 2025-07-22 20:41:41 -0700 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-07-23 20:17:55 -0300 |
| commit | 69a93a88edb56ba47f624dac7a21aacc47ea474f (patch) | |
| tree | f57507a4435d032493cae40e06ecb254790b67b2 /django/core/files/storage/filesystem.py | |
| parent | 55b0cc21310b76ce4018dd793ba50556eaf0af06 (diff) | |
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
Diffstat (limited to 'django/core/files/storage/filesystem.py')
| -rw-r--r-- | django/core/files/storage/filesystem.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/django/core/files/storage/filesystem.py b/django/core/files/storage/filesystem.py index 428ae61b40..9592bff008 100644 --- a/django/core/files/storage/filesystem.py +++ b/django/core/files/storage/filesystem.py @@ -104,8 +104,9 @@ class FileSystemStorage(Storage, StorageSettingsMixin): # This is a normal uploadedfile that we can stream. else: - # The combination of O_CREAT and O_EXCL makes os.open() raises an - # OSError if the file already exists before it's opened. + # The combination of O_CREAT and O_EXCL makes os.open() + # raises an OSError if the file already exists before it's + # opened. open_flags = ( os.O_WRONLY | os.O_CREAT |
