From: Fredrik Tolf Date: Fri, 20 Mar 2015 05:13:01 +0000 (+0100) Subject: Fixed cache bug. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=3e3af3c5618b91f6476b52ba790e778d2beaf0c0;p=didex.git Fixed cache bug. --- diff --git a/didex/cache.py b/didex/cache.py index 76742aa..a47f7dd 100644 --- a/didex/cache.py +++ b/didex/cache.py @@ -27,6 +27,7 @@ class entry(object): self.p = None self.n = c.mru c.mru.p = self + c.mru = self def remove(self, c): if self.n is not None: