From 5e1f136ba4c4f31dd5540594f48dc42f62ee09d9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 7 Sep 2011 10:49:46 -0700 Subject: [PATCH] egencache: remove metadata-transfer warning It should be enough that the automatic use of metadata-transfer is documented in the man page, and allows us to avoid showing a useless warning in common usage scenarios. --- bin/egencache | 3 --- pym/portage/tests/emerge/test_simple.py | 1 - 2 files changed, 4 deletions(-) diff --git a/bin/egencache b/bin/egencache index 66854e17e..6229ed6cd 100755 --- a/bin/egencache +++ b/bin/egencache @@ -816,9 +816,6 @@ def egencache_main(args): return 1 if options.update and 'metadata-transfer' not in settings.features: - writemsg_level("ecachegen: warning: " + \ - "automatically enabling FEATURES=metadata-transfer\n", - level=logging.WARNING, noiselevel=-1) settings.features.add('metadata-transfer') if options.update: diff --git a/pym/portage/tests/emerge/test_simple.py b/pym/portage/tests/emerge/test_simple.py index f3c93205c..6810d05fb 100644 --- a/pym/portage/tests/emerge/test_simple.py +++ b/pym/portage/tests/emerge/test_simple.py @@ -190,7 +190,6 @@ src_install() { var_cache_edb = os.path.join(eprefix, "var", "cache", "edb") features = [] - features.append("metadata-transfer") if not portage.process.sandbox_capable: features.append("-sandbox") -- 2.26.2