From 45576af8b66eed5c2e0afa28b6bfab9639e4ad22 Mon Sep 17 00:00:00 2001 From: Alexander Sibiryakov Date: Fri, 5 Apr 2019 18:17:08 +0200 Subject: [PATCH] fixing Cache.__init__ signature changes --- frontera/contrib/backends/hbase/domaincache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontera/contrib/backends/hbase/domaincache.py b/frontera/contrib/backends/hbase/domaincache.py index 6084ef1a5..d9f5681b1 100644 --- a/frontera/contrib/backends/hbase/domaincache.py +++ b/frontera/contrib/backends/hbase/domaincache.py @@ -23,7 +23,7 @@ class LRUCache(Cache): """Least Recently Used (LRU) cache implementation.""" def __init__(self, maxsize, missing=None, getsizeof=None): - Cache.__init__(self, maxsize, missing, getsizeof) + Cache.__init__(self, maxsize, missing=missing, getsizeof=getsizeof) self.__order = collections.OrderedDict() def __getitem__(self, key, cache_getitem=Cache.__getitem__):