Revert newline translation change

On windows, newlines will be CRLF since we added unix2dos to kitchen.
This commit is contained in:
Daniel A. Wozniak 2018-08-22 03:41:15 +00:00 committed by rallytime
parent 74b78835b3
commit 5db77c6229
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -68,7 +68,7 @@ class RootsTest(TestCase, AdaptedConfigurationTestCaseMixin, LoaderModuleMockMix
with salt.utils.files.fopen(full_path_to_file, 'rb') as s_fp:
with salt.utils.files.fopen(os.path.join(cls.tmp_dir, 'testfile'), 'wb') as d_fp:
for line in s_fp:
d_fp.write(line.rstrip(b'\n').rstrip(b'\r') + b'\n')
d_fp.write(line)
@classmethod
def tearDownClass(cls):