Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
AHReccese committed Aug 2, 2024
1 parent ebd2f56 commit 46ef6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reserver/reserver_obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def upload(self, package_name, user_parameters=None):
if "400" in error and "too similar to an existing project" in error:
error = "Given package name is too similar to an existing project in PyPI."
if "400" in error and "isn't allowed." in error:
error = "Given package name has conflict with the module name of a previously taken package (the taken package itself has a different name, but it's module name has conflict)."
error = "Given package name has conflict with the module name of a previously taken package."
if "400" in error and "isn't allowed (conflict with Python Standard Library" in error:
error = "Given package name has conflict with Python Standard Library module name."
break
Expand Down

0 comments on commit 46ef6c1

Please sign in to comment.