Fix an error about line_terminator
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Incomplete
|
Undecided
|
jian.song |
Bug Description
In Linux /n as a newline, and Windows is /r/n, so I will be the
default value is set to "/n" for line_terminator, in fact, the most intuitive
is solved test_operating_
_codec problem.
before change:http://
We can see from the error message:
b"reference = {'key1': 'value1', 'key2': 'value2', 'key3': 'value3'}"
b"actual = {'key1': 'value1\
For this reason I think it's about time to split not the cut with a "/n"
maybe for py2,,/r/n and /n have same meaning for split,but in py3,
They doesn't look the same, /r/n does not transform file to make
the split on the line.The most intuitive reflect is when the parameter
is a/r/n can't correct the split, and parameters for/n, py3 and py2
test can be normal...
Into a /n can improve python3 support issues.
my development system is ubuntu14.04
Changed in trove: | |
assignee: | nobody → jian.song (jiansong) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/388406
Review: https:/