From: Marius Mauch Date: Tue, 18 Mar 2008 23:41:52 +0000 (-0000) Subject: make filesets non-greedy by default X-Git-Tag: v2.2_pre5~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cacdcb67f8c6842b1e5a3b9ac29505177482ced6;p=portage.git make filesets non-greedy by default svn path=/main/trunk/; revision=9481 --- diff --git a/pym/portage/sets/files.py b/pym/portage/sets/files.py index ab9a12fe1..95b298eae 100644 --- a/pym/portage/sets/files.py +++ b/pym/portage/sets/files.py @@ -96,7 +96,7 @@ class StaticFileSet(EditablePackageSet): def singleBuilder(self, options, settings, trees): if not "filename" in options: raise SetConfigError("no filename specified") - greedy = get_boolean(options, "greedy", True) + greedy = get_boolean(options, "greedy", False) filename = options["filename"] # look for repository path variables match = self._repopath_match.match(filename) @@ -111,7 +111,7 @@ class StaticFileSet(EditablePackageSet): name_pattern = options.get("name_pattern", "sets/${name}") if not "$name" in name_pattern and not "${name}" in name_pattern: raise SetConfigError("name_pattern doesn't include ${name} placeholder") - greedy = get_boolean(options, "greedy", True) + greedy = get_boolean(options, "greedy", False) # look for repository path variables match = self._repopath_match.match(directory) if match: