[PATCH 1/2] retag: Don't use BaseCommand's stdin/stdout wrappers

Damien Lespiau damien.lespiau at intel.com
Tue Nov 10 02:20:35 AEDT 2015


On Mon, Nov 09, 2015 at 02:53:36PM +0000, Finucane, Stephen wrote:
> Ah, I get the point - I just misinterpreted the line ending character
> (it's a '\r', but I instinctively saw a '\n'). How about this?
> 
>     self.stdout.write('%06d/%06d\r' % (i, count), ending='')
> 
> or this, if you prefer:
> 
>     self.stdout.write('%06d/%06d' % (i, count), ending='\r')
> 
> I'm raising this issue just because the Django docs explicitly say to use

Feel free to rewrite the patch this way if you wish, I don't mind either
way.

-- 
Damien


More information about the Patchwork mailing list