self.hashes = sets.Set(self.hashes)
for t in portage.const.MANIFEST2_IDENTIFIERS:
self.fhashdict[t] = {}
+ self.compat = manifest1_compat
if not from_scratch:
self._read()
- self.compat = manifest1_compat
if fetchlist_dict != None:
self.fetchlist_dict = fetchlist_dict
else:
self._readManifest(self.getFullname(), myhashdict=self.fhashdict)
except FileNotFound:
pass
- self._readDigests(myhashdict=self.fhashdict)
-
+ if self.compat:
+ self._readDigests(myhashdict=self.fhashdict)
def _parseManifestLines(self, mylines):
"""Parse manifest lines and return a list of manifest entries."""