#29890: FileSystemStorage._save() doesn't catch FileExistsError on concurrent os.mkdirs() -------------------------------------+------------------------------------- Reporter: mar77i | Owner: Vishvajit | Pathak Type: Bug | Status: assigned Component: File | Version: 2.1 uploads/storage | Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Tim Graham):
* stage: Unreviewed => Accepted Comment: It looks like my mistake in 632c4ffd9cb1da273303bcd8005fff216506c795. We can add a test by mocking `os.makedirs` to raise `FileExistsError`. -- Ticket URL: <https://code.djangoproject.com/ticket/29890#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.b52cb54d42dac832f2b31fabba4f6f5e%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.