-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transports: Raise
FileNotFoundError
in copy
if source doesn't exist
The `LocalTransport` and `SshTransport` would raise a generic `OSError` which would make it to distinguish the problem of the source not existing from an more serious problem like the operation failing. The methods now make sure to throw a `FileNotFoundError` if the source doesn't exist.
- Loading branch information
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters