Re: [PATCH] auto merge actions
- From: Kai Willadsen <kai willadsen gmail com>
- To: Piotr Piastucki <leech miranda gmail com>
- Cc: meld-list <meld-list gnome org>
- Subject: Re: [PATCH] auto merge actions
- Date: Mon, 21 Jun 2010 19:26:12 +1000
On 19 June 2010 18:35, Piotr Piastucki <leech miranda gmail com> wrote:
> Hi,
>
> One comment regarding the patch - please not that I changed:
> mergeable0 = mergeable0 or (c0 and c0[0] != 'conflict')
> mergeable1 = mergeable1 or (c1 and c1[0] != 'conflict')
> to
> mergeable0 = mergeable0 or (c0 != None and c0[0] != 'conflict')
> mergeable1 = mergeable1 or (c1 != None and c1[0] != 'conflict')
> in my patch purposely.
>
> If c0 is None then (c0 and c0[0] != 'conflict') will return None, not False.
>
> Please consider making this change otherwise the code will break
> occasionally.
Thanks for the explanation. I've pushed a very similar change.
cheers,
Kai
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]