Submitter | Yuya Nishihara |
---|---|
Date | March 26, 2017, 11:59 a.m. |
Message ID | <3bb6534a49672073885c.1490529584@mimosa> |
Download | mbox | patch |
Permalink | /patch/19678/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/pure/bdiff.py b/mercurial/pure/bdiff.py --- a/mercurial/pure/bdiff.py +++ b/mercurial/pure/bdiff.py @@ -7,7 +7,6 @@ from __future__ import absolute_import -import array import difflib import re import struct @@ -56,9 +55,6 @@ def _normalizeblocks(a, b, blocks): 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):