telmich/cdist — pull request #138 by asteven (2012-11-19 11:10:45+00:00)
Title: file from stdin is broken

======================================================================
ERROR: test_file_from_stdin (cdist.test.emulator.StdinTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sar/vcs/cdist/cdist/test/emulator/__init__.py", line 268, in test_file_from_stdin
emu.run()
File "./cdist/emulator.py", line 76, in run
self.save_stdin()
File "./cdist/emulator.py", line 176, in save_stdin
fd.write(self.stdin.read())
TypeError: must be str, not bytes