-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
test for stderr before printing #212
Conversation
This looks very reasonable! Could you please bump the version in version.py and add a note in CHANGELOG.md? |
Ok, I think I have done this. |
spython/version.py
Outdated
@@ -5,7 +5,7 @@ | |||
# with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | |||
|
|||
|
|||
__version__ = "0.3.1" | |||
__version__ = "0.3.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be 0.3.11
Not perfect semver, but allows for tiny changes like this one :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated :)
CHANGELOG.md
Outdated
@@ -17,6 +17,7 @@ The client here will eventually be released as "spython" (and eventually to | |||
singularity on pypi), and the versions here will coincide with these releases. | |||
|
|||
## [master](https://github.com/singularityhub/singularity-cli/tree/master) | |||
- added check to enbsure stderr exists upon a non-zero return code when streaming (0.3.2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- added check to enbsure stderr exists upon a non-zero return code when streaming (0.3.2) | |
- added check to enbsure stderr exists upon a non-zero return code when streaming (0.3.11) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ha, yes. Ok. Fixed this as well :P
As discussed, sometimes an error is raised when there is no
stderr
attached to theprocess
object. This will test to ensure it does exist before trying to read from it.