summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-02-24 00:56:59 +0000
committerZac Medico <zmedico@gentoo.org>2007-02-24 00:56:59 +0000
commitfc8b4972964026c4f151bcc932655de91f29809b (patch)
tree14e9a278da59eebe770e67270ae8a863e9bf4c47 /pym
parent27a4b756088d78fe82787d3481607e4d1fa14914 (diff)
downloadportage-fc8b4972964026c4f151bcc932655de91f29809b.tar.gz
portage-fc8b4972964026c4f151bcc932655de91f29809b.tar.bz2
portage-fc8b4972964026c4f151bcc932655de91f29809b.zip
Allow --verbose to trigger a merge list even without --pretend, --ask, or --tree. Thanks to agaffney and zlin for the suggestion.
svn path=/main/trunk/; revision=6066
Diffstat (limited to 'pym')
-rw-r--r--pym/emerge/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index dc63b6b10..5a6e2ba52 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -4680,7 +4680,8 @@ def action_build(settings, trees, mtimedb,
ldpath_mtimes = mtimedb["ldpath"]
favorites=[]
if "--quiet" not in myopts and \
- ("--pretend" in myopts or "--ask" in myopts or "--tree" in myopts):
+ ("--pretend" in myopts or "--ask" in myopts or \
+ "--tree" in myopts or "--verbose" in myopts):
action = ""
if "--fetchonly" in myopts or "--fetch-all-uri" in myopts:
action = "fetched"
@@ -4770,7 +4771,8 @@ def action_build(settings, trees, mtimedb,
sys.exit(1)
if "--pretend" not in myopts and \
- ("--ask" in myopts or "--tree" in myopts) and \
+ ("--ask" in myopts or "--tree" in myopts or \
+ "--verbose" in myopts) and \
not ("--quiet" in myopts and "--ask" not in myopts):
if "--resume" in myopts:
validate_merge_list(trees, mtimedb["resume"]["mergelist"])