Skip to content

Defer resolution of binary_stdin - #3034

Merged
JordonPhillips merged 2 commits into
aws:developfrom
JordonPhillips:defer-stdin-resolution
Dec 13, 2017
Merged

Defer resolution of binary_stdin#3034
JordonPhillips merged 2 commits into
aws:developfrom
JordonPhillips:defer-stdin-resolution

Conversation

@JordonPhillips

@JordonPhillips JordonPhillips commented Dec 12, 2017

Copy link
Copy Markdown
Member

This replaces the static binary_stdin in compat.py with a function
to get the binary version of standard input. This function will raise
a more end-user useful error message if stdin isn't available in the
current process. Since the function only gets called when stdin is
needed, users will be able to run the CLI without stdin for all the
commands that don't use it. See #2518 for context on the original
issue.

Resolves #2990
Closes #2991

This replaces the static `binary_stdin` in compat.py with a function
to get the binary version of standard input. This function will raise
a more end-user useful error message if stdin isn't available in the
current process.
@JordonPhillips JordonPhillips added pr:needs-review This PR needs a review from a Member. small labels Dec 12, 2017
@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #3034 into develop will decrease coverage by 0.02%.
The diff coverage is 71.42%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #3034      +/-   ##
===========================================
- Coverage    95.76%   95.74%   -0.03%     
===========================================
  Files          165      165              
  Lines        12578    12589      +11     
===========================================
+ Hits         12045    12053       +8     
- Misses         533      536       +3
Impacted Files Coverage Δ
awscli/customizations/s3/s3handler.py 97.8% <100%> (ø) ⬆️
awscli/compat.py 76.59% <66.66%> (-0.51%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8ae78e...5d83f45. Read the comment docs.

@JordonPhillips
JordonPhillips merged commit 809ddea into aws:develop Dec 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:needs-review This PR needs a review from a Member.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants