Bugfix caching of param detected images and installed system.

master
Mike Hiretsky 13 years ago
parent 71fe991033
commit 71456c2c67

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

Loading…
Cancel
Save