Mercurial > evolve
changeset 2199:7da7c8c9169d
stablerange: do not inherit from dict
This seems like and old cargo cult that when unnoticed.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 23 Mar 2017 09:40:04 +0100 |
parents | ab392bd1c518 |
children | d5a216dce71c |
files | hgext3rd/evolve/stablerange.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/stablerange.py Wed Mar 22 21:10:01 2017 +0100 +++ b/hgext3rd/evolve/stablerange.py Thu Mar 23 09:40:04 2017 +0100 @@ -153,7 +153,7 @@ ranges.sort(key=lambda r: (-rangelength(repo, r), n(r[0]))) return ranges -class stablerangecache(dict): +class stablerangecache(object): def __init__(self): self._depthcache = {}