public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r13030 - main/branches/2.1.6/pym/_emerge
@ 2009-03-11  6:56 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-03-11  6:56 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2009-03-11 06:56:24 +0000 (Wed, 11 Mar 2009)
New Revision: 13030

Modified:
   main/branches/2.1.6/pym/_emerge/__init__.py
Log:
Make the --digest warning message show for FEATURES=digest. (trunk r12796)

Modified: main/branches/2.1.6/pym/_emerge/__init__.py
===================================================================
--- main/branches/2.1.6/pym/_emerge/__init__.py	2009-03-11 06:56:01 UTC (rev 13029)
+++ main/branches/2.1.6/pym/_emerge/__init__.py	2009-03-11 06:56:24 UTC (rev 13030)
@@ -13906,8 +13906,13 @@
 	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."




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-11  6:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11  6:56 [gentoo-commits] portage r13030 - main/branches/2.1.6/pym/_emerge Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox