Added implicit initialization of APT package manager '_cache' field (#55851)

This commit is contained in:
Alexander 2019-05-02 00:08:18 +03:00 committed by Brian Coca
parent b14f477bee
commit c707dd7b62

View file

@ -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: