Fix typo binay instead of binary

Closes #10132457

authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
changeset7f3142453cd5
branchdefault
phasepublic
hiddenno
parent revision#33556c344c83 Added tag 1.10.5 for changeset 8e165b725edc
child revision#273b4ae25ccb Bugfix: do not return matcher function, but use it for calling diff
files modified by this revision
hgviewlib/util.py
# HG changeset patch
# User Philippe Pepiot <philippe.pepiot@logilab.fr>
# Date 1561550123 -7200
# Wed Jun 26 13:55:23 2019 +0200
# Node ID 7f3142453cd546d701a7455cab9568cce08d9974
# Parent 33556c344c83ff16dd0bc4757e4468db9e7d3e19
Fix typo binay instead of binary

Closes #10132457

diff --git a/hgviewlib/util.py b/hgviewlib/util.py
@@ -18,11 +18,11 @@
1  from hgviewlib.hgpatches import precursorsmarkers, successorsmarkers
2 
3  try:
4      from mercurial.utils.stringutil import binary  # noqa
5  except ImportError:  # hg < 4.7
6 -    from mercurial.util import binay  # noqa
7 +    from mercurial.util import binary  # noqa
8 
9 
10  def tounicode(text):
11      """
12      Tries to convert ``text`` into a unicode string.