Re: [PATCH master] utils.text: Add function to truncate string

2012-02-17 Thread René Nussbaumer
On Fri, Feb 17, 2012 at 16:21, Michael Hanselmann wrote: > The function adds an ellipse if the string was actually truncated. Also > start using it in mcpu for result checks (where the message is also > slightly changed to use a colon). > > Signed-off-by: Michael Hanselmann > --- >  lib/mcpu.py  

[PATCH master] utils.text: Add function to truncate string

2012-02-17 Thread Michael Hanselmann
The function adds an ellipse if the string was actually truncated. Also start using it in mcpu for result checks (where the message is also slightly changed to use a colon). Signed-off-by: Michael Hanselmann --- lib/mcpu.py|4 ++-- lib/utils/text.py |

Re: [PATCH master] utils.text: Add function to truncate string

2012-02-17 Thread René Nussbaumer
On Fri, Feb 17, 2012 at 13:42, Michael Hanselmann wrote: > The function adds an ellipse if the string was actually truncated. Also > start using it in mcpu for result checks (where the message is also > slightly changed to use a colon). > > Signed-off-by: Michael Hanselmann > --- >  lib/mcpu.py  

[PATCH master] utils.text: Add function to truncate string

2012-02-17 Thread Michael Hanselmann
The function adds an ellipse if the string was actually truncated. Also start using it in mcpu for result checks (where the message is also slightly changed to use a colon). Signed-off-by: Michael Hanselmann --- lib/mcpu.py|4 ++-- lib/utils/text.py |