diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-09 01:33:46 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-09 01:33:46 +0000 |
commit | 5bae54798a42ab45909a3dfb38ca8e74aa9e28aa (patch) | |
tree | 5291865d1ad08abc1d9f40d757d584faec4c3f28 | |
parent | 230464b3bf7aad43105293c2fe96d323cdc3215a (diff) | |
download | portage-5bae54798a42ab45909a3dfb38ca8e74aa9e28aa.tar.gz portage-5bae54798a42ab45909a3dfb38ca8e74aa9e28aa.tar.bz2 portage-5bae54798a42ab45909a3dfb38ca8e74aa9e28aa.zip |
Make the --digest warning message show for FEATURES=digest.
svn path=/main/trunk/; revision=12796
-rw-r--r-- | pym/_emerge/__init__.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 0b60e0fd2..df7db268d 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -14260,8 +14260,13 @@ def action_build(settings, trees, mtimedb, if pretend or fetchonly: # make the mtimedb readonly mtimedb.filename = None - if "--digest" in myopts: - msg = "The --digest option can prevent corruption from being" + \ + if '--digest' in myopts or 'digest' in settings.features: + if '--digest' in myopts: + msg = "The --digest option" + else: + msg = "The FEATURES=digest setting" + + msg += " can prevent corruption from being" + \ " noticed. The `repoman manifest` command is the preferred" + \ " way to generate manifests and it is capable of doing an" + \ " entire repository or category at once." |