eric6/E5Utilities/E5Cache.py

changeset 7253
50dbe65a1334
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/E5Utilities/E5Cache.py	Sat Sep 21 15:37:43 2019 +0200
+++ b/eric6/E5Utilities/E5Cache.py	Sat Sep 21 16:04:17 2019 +0200
@@ -58,8 +58,8 @@
         Private method to adjust the cache to its size.
         """
         if self.__size:
-            removeList, self.__keyList = \
-                self.__keyList[:-self.__size], self.__keyList[-self.__size:]
+            removeList = self.__keyList[:-self.__size]
+            self.__keyList = self.__keyList[-self.__size:]
             for key in removeList:
                 del self.__store[key]
                 del self.__accesStore[key]

eric ide

mercurial