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