stablerange: do not inherit from dict
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Thu, 23 Mar 2017 09:40:04 +0100
changeset 2199 7da7c8c9169d
parent 2198 ab392bd1c518
child 2200 d5a216dce71c
stablerange: do not inherit from dict This seems like and old cargo cult that when unnoticed.
hgext3rd/evolve/stablerange.py
--- 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 = {}