changeset 31640 | 6d30699729dd |
parent 30042 | d24e03da24b5 |
child 31641 | f2b334e6c7e0 |
--- a/mercurial/pure/bdiff.py Sun Mar 26 15:55:34 2017 +0200 +++ b/mercurial/pure/bdiff.py Sun Mar 26 16:14:04 2017 +0900 @@ -7,7 +7,6 @@ from __future__ import absolute_import -import array import difflib import re import struct @@ -56,9 +55,6 @@ return r def _tostring(c): - if type(c) is array.array: - # this copy overhead isn't ideal - return c.tostring() return str(c) def bdiff(a, b):