From cacdcb67f8c6842b1e5a3b9ac29505177482ced6 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Tue, 18 Mar 2008 23:41:52 +0000 Subject: [PATCH] make filesets non-greedy by default svn path=/main/trunk/; revision=9481 --- pym/portage/sets/files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.26.2