|
|
|
@ -136,7 +136,7 @@ class DistributiveRepository:
|
|
|
|
|
"""Get info from content"""
|
|
|
|
|
origfilename = filename
|
|
|
|
|
if filename in DistributiveRepository.contentCache:
|
|
|
|
|
return DistributiveRepository.contentCache[filename]
|
|
|
|
|
return DistributiveRepository.contentCache[filename].copy()
|
|
|
|
|
varsShare = self.varsShare
|
|
|
|
|
distr = None
|
|
|
|
|
# may be directory is isodir (directory which contains iso image)
|
|
|
|
@ -184,7 +184,7 @@ class DistributiveRepository:
|
|
|
|
|
if distr:
|
|
|
|
|
distr.close()
|
|
|
|
|
DistributiveRepository.contentCache[origfilename] = d
|
|
|
|
|
return d
|
|
|
|
|
return d.copy()
|
|
|
|
|
|
|
|
|
|
def _getdistrinfo(self,filename):
|
|
|
|
|
"""Get information by distributive"""
|
|
|
|
|