comparison mercurial/branchmap.py @ 31360:37acdf027ae2

py3: drop unused aliases to array.array which are replaced with bytearray
author Yuya Nishihara <yuya@tcha.org>
date Sun, 12 Mar 2017 11:47:02 -0700
parents fc06c5260639
children 906be86990c4
comparison
equal deleted inserted replaced
31359:73b3bee8febe 31360:37acdf027ae2
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 from __future__ import absolute_import 8 from __future__ import absolute_import
9 9
10 import array
11 import struct 10 import struct
12 11
13 from .node import ( 12 from .node import (
14 bin, 13 bin,
15 hex, 14 hex,
21 error, 20 error,
22 scmutil, 21 scmutil,
23 util, 22 util,
24 ) 23 )
25 24
26 array = array.array
27 calcsize = struct.calcsize 25 calcsize = struct.calcsize
28 pack = struct.pack 26 pack = struct.pack
29 unpack = struct.unpack 27 unpack = struct.unpack
30 28
31 def _filename(repo): 29 def _filename(repo):