Mercurial > hg
diff hgext/remotefilelog/basestore.py @ 41266:92cf293fd93d
remotefilelog: import Queue on Python 2, and queue on Python 3
Differential Revision: https://phab.mercurial-scm.org/D5599
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 16 Jan 2019 10:56:39 -0500 |
parents | 194e43c2bac9 |
children | 13dad5cb4b99 |
line wrap: on
line diff
--- a/hgext/remotefilelog/basestore.py Wed Jan 16 11:57:20 2019 -0500 +++ b/hgext/remotefilelog/basestore.py Wed Jan 16 10:56:39 2019 -0500 @@ -305,8 +305,7 @@ cachepath = self._path # prune cache - import Queue - queue = Queue.PriorityQueue() + queue = pycompat.queue.PriorityQueue() originalsize = 0 size = 0 count = 0