saltstack/salt — pull request #16145 by Setsuna666 (2014-09-25 15:57:21+00:00)
Title: File Tree - Fix for the line break (\n) character at the end of the pillar data

This fix remove the line break (\n) character at the end of the pillar data that was inserted by the python open() function.

It can cause problems when using the resulting pillar data in a variable, since there is an unexpected character being added to the data.

To preserve backward compatibility, I added a booleen variable called raw_data, which if True will return to the old behavior and add a line break at the end of the pillar data.