On 07 Nov 16:49, Damien Lespiau wrote:
> i == count cannot happen in the loop as i will vary from 0 to count - 1.
>
> Signed-off-by: Damien Lespiau
Merged.
___
Patchwork mailing list
Patchwork@lists.ozlabs.org
On Mon, Nov 09, 2015 at 03:30:22PM +, Finucane, Stephen wrote:
> > On Mon, Nov 09, 2015 at 03:20:39PM +, Finucane, Stephen wrote:
> > > > That wouldn't work either. On the last iteration (count - 1)/count
> > would
> > > > be printed and count/count would never be printed.
> > >
> > >
On Mon, Nov 09, 2015 at 02:59:49PM +, Finucane, Stephen wrote:
> > On Mon, Nov 09, 2015 at 02:37:54AM +, Finucane, Stephen wrote:
> > > > i == count cannot happen in the loop as i will vary from 0 to count -
> > 1.
> > > >
> > > > Signed-off-by: Damien Lespiau
>
On Mon, Nov 09, 2015 at 03:20:39PM +, Finucane, Stephen wrote:
> > That wouldn't work either. On the last iteration (count - 1)/count would
> > be printed and count/count would never be printed.
>
> Right you are. What on earth was that code doing there at all? :)
Actually, because i goes
> On Mon, Nov 09, 2015 at 02:59:49PM +, Finucane, Stephen wrote:
> > > On Mon, Nov 09, 2015 at 02:37:54AM +, Finucane, Stephen wrote:
> > > > > i == count cannot happen in the loop as i will vary from 0 to count
> -
> > > 1.
> > > > >
> > > > > Signed-off-by: Damien Lespiau
> On Mon, Nov 09, 2015 at 03:20:39PM +, Finucane, Stephen wrote:
> > > That wouldn't work either. On the last iteration (count - 1)/count
> would
> > > be printed and count/count would never be printed.
> >
> > Right you are. What on earth was that code doing there at all? :)
>
> Actually,
On Mon, Nov 09, 2015 at 02:37:54AM +, Finucane, Stephen wrote:
> > i == count cannot happen in the loop as i will vary from 0 to count - 1.
> >
> > Signed-off-by: Damien Lespiau
> > ---
> > patchwork/management/commands/retag.py | 3 ++-
> > 1 file changed, 2
> i == count cannot happen in the loop as i will vary from 0 to count - 1.
>
> Signed-off-by: Damien Lespiau
> ---
> patchwork/management/commands/retag.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git
i == count cannot happen in the loop as i will vary from 0 to count - 1.
Signed-off-by: Damien Lespiau
---
patchwork/management/commands/retag.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/patchwork/management/commands/retag.py