av6 added inline comments.

INLINE COMMENTS

> similar.py:67
> +    if lengths > 0:
>      return equal * 2.0 / lengths
>  

This returns None in some cases, and code that uses `_score()` and `score()` 
tries to compare it to an integer. In Python3 `None > 1` raises TypeError.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6123

To: akshjain.jain74, durin42, #hg-reviewers
Cc: av6, pulkit, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to