Switch out FILE_ALREADY_EXISTS for DUPLICATE_ITEM.
Review Request #8137 — Created April 30, 2016 and submitted
The original image dnd branch included a new API error for when a file
attachment was a duplicate, but we now have a generic error in djblets for
cases like this. This change swaps out the new error for the existing one.
Ran unit tests.
- Change Summary:
-
Small change that I forgot to commit.
- Branch:
-
ucosp/dkus/dnd-inline-imagesmaster
- Commit:
-
7024e87914e4c2e26b3600b40aa68c81b88337731d0ebb1f3ef7473dd10cd83bbe7c77e983cc7f4c
-
Tool: Pyflakes Processed Files: reviewboard/webapi/tests/test_user_file_attachment.py reviewboard/webapi/errors.py reviewboard/webapi/resources/user_file_attachment.py Ignored Files: docs/manual/webapi/2.0/errors/232-file-already-exists.rst docs/manual/webapi/2.0/errors/index.rst Tool: PEP8 Style Checker Processed Files: reviewboard/webapi/tests/test_user_file_attachment.py reviewboard/webapi/errors.py reviewboard/webapi/resources/user_file_attachment.py Ignored Files: docs/manual/webapi/2.0/errors/232-file-already-exists.rst docs/manual/webapi/2.0/errors/index.rst