Manifest.create(): pass allow_* to constructor
authorZac Medico <zmedico@gentoo.org>
Sun, 2 Oct 2011 22:53:39 +0000 (15:53 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 2 Oct 2011 22:53:39 +0000 (15:53 -0700)
This fixes commit f3101b3adce6731790f80f83fafece54b7bd8a63 to ensure
that Manifest.create() works correctly.

pym/portage/manifest.py

index 49c05bd484a1d60897df5a412999d13df17dbcec..9db8acc1eb23113fb82143357ed092bd75cff807 100644 (file)
@@ -349,7 +349,8 @@ class Manifest(object):
                        distfilehashes = {}
                self.__init__(self.pkgdir, self.distdir,
                        fetchlist_dict=self.fetchlist_dict, from_scratch=True,
-                       thin=self.thin)
+                       thin=self.thin, allow_missing=self.allow_missing,
+                       allow_create=self.allow_create)
                pn = os.path.basename(self.pkgdir.rstrip(os.path.sep))
                cat = self._pkgdir_category()