From 97e8df7eaa171d68da6b3e111c419e2a16dfaf4c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 9 Jan 2013 04:19:57 -0800 Subject: [PATCH] Manifest: make distdir argument optional --- pym/portage/manifest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/manifest.py b/pym/portage/manifest.py index 4a60a228c..71837e074 100644 --- a/pym/portage/manifest.py +++ b/pym/portage/manifest.py @@ -122,7 +122,7 @@ class Manifest2Entry(ManifestEntry): class Manifest(object): parsers = (parseManifest2,) - def __init__(self, pkgdir, distdir, fetchlist_dict=None, + def __init__(self, pkgdir, distdir=None, fetchlist_dict=None, manifest1_compat=DeprecationWarning, from_scratch=False, thin=False, allow_missing=False, allow_create=True, hashes=None, find_invalid_path_char=None): @@ -383,7 +383,7 @@ class Manifest(object): distfilehashes = self.fhashdict["DIST"] else: distfilehashes = {} - self.__init__(self.pkgdir, self.distdir, + self.__init__(self.pkgdir, distdir=self.distdir, fetchlist_dict=self.fetchlist_dict, from_scratch=True, thin=self.thin, allow_missing=self.allow_missing, allow_create=self.allow_create, hashes=self.hashes, -- 2.26.2