Supply missing parameters to a checkFileHashes call.
authorZac Medico <zmedico@gentoo.org>
Sun, 9 Apr 2006 04:37:05 +0000 (04:37 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 9 Apr 2006 04:37:05 +0000 (04:37 -0000)
svn path=/main/trunk/; revision=3103

pym/portage_manifest.py

index fa90fd1044422109be02039e2aac409dab4e8f9a..8cfb43a823fd099e4cb546159f2b32b07eb84243 100644 (file)
@@ -357,7 +357,7 @@ class Manifest(object):
        def updateFileHashes(self, ftype, fname, checkExisting=True, ignoreMissing=True, reuseExisting=False):
                """ Regenerate hashes for the given file """
                if checkExisting:
-                       self.checkFileHashes(fname)
+                       self.checkFileHashes(ftype, fname, ignoreMissing=ignoreMissing)
                if not ignoreMissing and not self.fhashdict[ftype].has_key(fname):
                        raise FileNotInManifestException(fname)
                if not self.fhashdict[ftype].has_key(fname):