1
0
mirror of https://github.com/pypiserver/pypiserver synced 2025-02-22 19:19:37 +01:00

Made error message slightly more informative.

This commit is contained in:
Vinay Sajip 2013-02-02 12:44:38 +00:00
parent 623c0dc736
commit 1c80385c52

@ -151,7 +151,7 @@ def update():
return ""
if action != "file_upload":
raise HTTPError(400, output="actions other than file_upload/submit, not supported")
raise HTTPError(400, output="action not supported: %s" % action)
try:
content = request.files['content']