mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Added implicit initialization of APT package manager '_cache' field (#55851)
This commit is contained in:
@@ -177,6 +177,10 @@ class APT(LibMgr):
|
||||
|
||||
LIB = 'apt'
|
||||
|
||||
def __init__(self):
|
||||
self._cache = None
|
||||
super(APT, self).__init__()
|
||||
|
||||
@property
|
||||
def pkg_cache(self):
|
||||
if self._cache:
|
||||
|
||||
Reference in New Issue
Block a user