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

Finucane, Stephen stephen.finucane at intel.com
Thu Nov 12 15:07:46 AEDT 2015


On 09 Nov 15:20, Damien Lespiau wrote:
> 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.

Merged.


More information about the Patchwork mailing list