forked from datalad/datalad-next
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use run-context in SshUrlOperations properly
This commit changes the call-tree location of the run-context usage. Before the run contexts where applied in `SshUrlOperation._stat`. This is wrong because some caller of _stat expect a runner-result, in this case a Generator, to still return data, after _stat returned. This was not the case of course because the context exit handler in _stat would exhaust the Generator when cleaning up the subprocess resources.
- Loading branch information
1 parent
c1a9c47
commit 7a62d96
Showing
1 changed file
with
67 additions
and
68 deletions.
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