Manifest: fix NameError in updateAllHashes
authorZac Medico <zmedico@gentoo.org>
Sun, 10 Jul 2011 23:40:56 +0000 (16:40 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 10 Jul 2011 23:45:32 +0000 (16:45 -0700)
pym/portage/manifest.py

index f273cc20c965bc883e39fc943a5a532da2008975..4714da03200455272c0f1e6f4d413e65ae49df2e 100644 (file)
@@ -482,7 +482,8 @@ class Manifest(object):
        def updateAllHashes(self, checkExisting=False, ignoreMissingFiles=True):
                """ Regenerate all hashes for all files in this Manifest. """
                for idtype in portage.const.MANIFEST2_IDENTIFIERS:
-                       self.updateTypeHashes(idtype, fname, checkExisting)
+                       self.updateTypeHashes(idtype, checkExisting=checkExisting,
+                               ignoreMissingFiles=ignoreMissingFiles)
 
        def updateCpvHashes(self, cpv, ignoreMissingFiles=True):
                """ Regenerate all hashes associated to the given cpv (includes all AUX and MISC