Skip to content

Use \n instead if \r\n as line separator - #1905

Merged
gaborbernat merged 1 commit into
pypa:masterfrom
gaborbernat:linesep
Jul 24, 2020
Merged

Use \n instead if \r\n as line separator#1905
gaborbernat merged 1 commit into
pypa:masterfrom
gaborbernat:linesep

Conversation

@gaborbernat

Copy link
Copy Markdown
Contributor

The logging framework will write to a pipe, which then will blindly transform
all carriage returns to carriage return plus line feed, when on Windows. So
injecting the \r\n leaves us with double carriage return.

@codecov

codecov Bot commented Jul 24, 2020

Copy link
Copy Markdown

Codecov Report

Merging #1905 into master will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1905      +/-   ##
==========================================
- Coverage   93.98%   93.95%   -0.03%     
==========================================
  Files          86       86              
  Lines        4220     4219       -1     
==========================================
- Hits         3966     3964       -2     
- Misses        254      255       +1     
Flag Coverage Δ
#tests 93.95% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/virtualenv/config/ini.py 94.82% <ø> (ø)
src/virtualenv/__main__.py 100.00% <100.00%> (ø)
src/virtualenv/seed/embed/base_embed.py 96.22% <0.00%> (-1.89%) ⬇️

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 012d5b5...21da8fa. Read the comment docs.

The logging framework will write to a pipe, which then will blindly transform
all carriage returns to carriage return plus line feed, when on Windows. So
injecting the \r\n leaves us with double carriage return.

Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
@gaborbernat
gaborbernat merged commit 7385e3c into pypa:master Jul 24, 2020
@gaborbernat
gaborbernat deleted the linesep branch July 24, 2020 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant