Re: [PATCH 1/2] rtemstoolkit: Python 3 compatibility

2016-01-10 Thread Chris Johns
On 08/01/2016 20:10, Sebastian Huber wrote: Can you print the type of 'c'? This implies the input stream on Windows is binary in this case and not text and so the stream is ints. I suspect the fix here is more complicated if the data is some form of unicode format. I suppose the str()

Re: [PATCH 1/2] rtemstoolkit: Python 3 compatibility

2016-01-08 Thread Sebastian Huber
On 08/01/16 10:03, Chris Johns wrote: On 8/01/2016 7:50 PM, Sebastian Huber wrote: On 08/01/16 08:00, Sebastian Huber wrote: --- rtemstoolkit/execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtemstoolkit/execute.py b/rtemstoolkit/execute.py index 4125182..03

Re: [PATCH 1/2] rtemstoolkit: Python 3 compatibility

2016-01-08 Thread Chris Johns
On 8/01/2016 7:50 PM, Sebastian Huber wrote: > On 08/01/16 08:00, Sebastian Huber wrote: >> --- >> rtemstoolkit/execute.py | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/rtemstoolkit/execute.py b/rtemstoolkit/execute.py >> index 4125182..0344e51 100755 >> --- a/rtems

Re: [PATCH 1/2] rtemstoolkit: Python 3 compatibility

2016-01-08 Thread Sebastian Huber
On 08/01/16 08:00, Sebastian Huber wrote: --- rtemstoolkit/execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtemstoolkit/execute.py b/rtemstoolkit/execute.py index 4125182..0344e51 100755 --- a/rtemstoolkit/execute.py +++ b/rtemstoolkit/execute.py @@ -177,7 +177,7

[PATCH 1/2] rtemstoolkit: Python 3 compatibility

2016-01-07 Thread Sebastian Huber
--- rtemstoolkit/execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtemstoolkit/execute.py b/rtemstoolkit/execute.py index 4125182..0344e51 100755 --- a/rtemstoolkit/execute.py +++ b/rtemstoolkit/execute.py @@ -177,7 +177,7 @@ class execute(object):