diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py --- a/mercurial/branchmap.py +++ b/mercurial/branchmap.py @@ -7,7 +7,6 @@ from __future__ import absolute_import -import array import struct from .node import ( @@ -23,7 +22,6 @@ from . import ( util, ) -array = array.array calcsize = struct.calcsize pack = struct.pack unpack = struct.unpack diff --git a/mercurial/tags.py b/mercurial/tags.py --- a/mercurial/tags.py +++ b/mercurial/tags.py @@ -12,7 +12,6 @@ from __future__ import absolute_import -import array import errno from .node import ( @@ -28,8 +27,6 @@ from . import ( util, ) -array = array.array - # Tags computation can be expensive and caches exist to make it fast in # the common case. #