From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 17 Mar 2013 04:32:22 +0000 (+0100) Subject: portage.update.update_config_files(): Add handling of /etc/portage/sets. X-Git-Tag: v2.2.0_alpha167~28 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5262782740f61cc97d1e3269786465c314b2ecfc;p=portage.git portage.update.update_config_files(): Add handling of /etc/portage/sets. --- diff --git a/pym/portage/update.py b/pym/portage/update.py index 6317d11b6..be52164b5 100644 --- a/pym/portage/update.py +++ b/pym/portage/update.py @@ -282,7 +282,8 @@ def parse_updates(mycontent): return myupd, errors def update_config_files(config_root, protect, protect_mask, update_iter, match_callback = None): - """Perform global updates on /etc/portage/package.*, /etc/portage/profile/packages and /etc/portage/profile/package.*. + """Perform global updates on /etc/portage/package.*, /etc/portage/profile/package.*, + /etc/portage/profile/packages and /etc/portage/sets. config_root - location of files to update protect - list of paths from CONFIG_PROTECT protect_mask - list of paths from CONFIG_PROTECT_MASK @@ -305,7 +306,7 @@ def update_config_files(config_root, protect, protect_mask, update_iter, match_c "package.accept_keywords", "package.env", "package.keywords", "package.license", "package.mask", "package.properties", - "package.unmask", "package.use" + "package.unmask", "package.use", "sets" ] myxfiles += [os.path.join("profile", x) for x in ( "packages", "package.accept_keywords",