generated from datalad/datalad-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use
returncode
of iterable_subproccess generator
This commit modifies SshUrlOperations to make use of the `returncode`-attribute of the generator that is returned by `with iterable_subprocess`. This allows to fetch the return code of the subprocess even if no `IterableSubprocessError` was raised. This situation can occur, if an exception is raised in an `iterable_subprocess`-context.
- Loading branch information
1 parent
23cf483
commit cae9210
Showing
1 changed file
with
33 additions
and
49 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