mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Added implicit initialization of APT package manager '_cache' field (#55851)
This commit is contained in:
parent
b14f477bee
commit
c707dd7b62
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue