summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-25 16:22:44 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-25 16:22:44 +0000
commitbaee2a0e584dac025476d357788bac19cf960685 (patch)
tree10a37f228f43553f023701e989c22eab5571cb3d
parent81b2837ded9fac1853902044f6cba3e4d891c00a (diff)
downloadportage-baee2a0e584dac025476d357788bac19cf960685.tar.gz
portage-baee2a0e584dac025476d357788bac19cf960685.tar.bz2
portage-baee2a0e584dac025476d357788bac19cf960685.zip
print errors to stderr, not stdout
svn path=/main/trunk/; revision=4526
-rwxr-xr-xbin/emerge12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/emerge b/bin/emerge
index cc7cae835..e63c3c3e7 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1325,7 +1325,7 @@ class depgraph:
try:
if not self.select_dep(
self.target_root, mydep, raise_on_missing=True):
- print "\n\n!!! Problem resolving dependencies for", mydep
+ print >> sys.stderr, "\n\n!!! Problem resolving dependencies for", mydep
return 0
except ValueError:
missing_atoms.append(mydep)
@@ -1333,14 +1333,14 @@ class depgraph:
self.validate_blockers()
if world_problems:
- print "\n!!! Problems have been detected with your world file"
- print "!!! Please run "+green("emaint --check world")+"\n"
+ print >> sys.stderr, "\n!!! Problems have been detected with your world file"
+ print >> sys.stderr, "!!! Please run "+green("emaint --check world")+"\n"
if missing_atoms:
- print "\n" + colorize("BAD", "!!!") + \
+ print >> sys.stderr, "\n" + colorize("BAD", "!!!") + \
" Ebuilds for the following packages are either all"
- print colorize("BAD", "!!!") + " masked or don't exist:"
- print " ".join(missing_atoms) + "\n"
+ print >> sys.stderr, colorize("BAD", "!!!") + " masked or don't exist:"
+ print >> sys.stderr, " ".join(missing_atoms) + "\n"
return 1