Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed unformatted error message #863

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/rez/pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,10 @@ def get_mapping(rel_src):

# A case we don't know how to deal with yet
if topdir == os.pardir:
raise RuntimeError(
"Don't know what to do with source file %r, please file a ticket",
rel_src
raise IOError(
89, # errno.EDESTADDRREQ : Destination address required
"Don't know what to do with source file, please file a ticket",
rel_src,
)

# At this point the file should be <pkg-name>/..., so we put
Expand Down