mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Better fix for serializing/deserializing cache plugins (v2)
This commit is contained in:
parent
cd6d1f9221
commit
0f1eb3cfc2
4 changed files with 17 additions and 9 deletions
3
lib/ansible/plugins/cache/base.py
vendored
3
lib/ansible/plugins/cache/base.py
vendored
|
@ -26,9 +26,6 @@ from six import add_metaclass
|
|||
@add_metaclass(ABCMeta)
|
||||
class BaseCacheModule:
|
||||
|
||||
def __init__(self):
|
||||
self.__getstate__ = self.copy
|
||||
|
||||
@abstractmethod
|
||||
def get(self, key):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue