Mercurial > bitten > bitten-test
changeset 326:b0a77f62bb38
Remove null characters from commandline output on windows. Closes #77.
author | cmlenz |
---|---|
date | Tue, 10 Jan 2006 11:45:42 +0000 |
parents | bc6285c0e71f |
children | 76a3f40d163e |
files | bitten/build/api.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/build/api.py +++ b/bitten/build/api.py @@ -127,8 +127,8 @@ os.chdir(old_cwd) for out_line, err_line in _combine(out_lines, err_lines): - yield out_line and out_line.rstrip(), \ - err_line and err_line.rstrip() + yield out_line and out_line.rstrip().replace('\x00', ''), \ + err_line and err_line.rstrip().replace('\x00', '') else: # posix