mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
Bug fix for overwriting existing files without the overwrite flag being set to true.
This commit is contained in:
parent
25a98ed9a7
commit
9fb44af448
@ -153,7 +153,7 @@ def file_upload():
|
||||
log.warn("Cannot upload %r since it already exists! \n"
|
||||
" You may start server with `--overwrite` option. ",
|
||||
uf.raw_filename)
|
||||
HTTPError(409, "Package %r already exists!\n"
|
||||
raise HTTPError(409, "Package %r already exists!\n"
|
||||
" You may start server with `--overwrite` option.",
|
||||
uf.raw_filename)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user