summaryrefslogtreecommitdiffstats
path: root/bin/emerge
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-31 16:52:08 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-31 16:52:08 +0000
commit6aa8bdd711cdaa253e803e32321c856468c1a100 (patch)
tree8f2ad8cf7175b705d7fa65230f246bae99d0d099 /bin/emerge
parent97b4c368fba64aaa09fe018b04a9dfac993b6194 (diff)
downloadportage-6aa8bdd711cdaa253e803e32321c856468c1a100.tar.gz
portage-6aa8bdd711cdaa253e803e32321c856468c1a100.tar.bz2
portage-6aa8bdd711cdaa253e803e32321c856468c1a100.zip
Go ahead and dump a full traceback without having to enable --debug. This patch is from trunk r3724.
svn path=/main/branches/2.1/; revision=4064
Diffstat (limited to 'bin/emerge')
-rwxr-xr-xbin/emerge8
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/emerge b/bin/emerge
index b7d33e4a3..d3faf66cd 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1153,11 +1153,9 @@ class depgraph:
except SystemExit, e:
raise # Needed else can't exit
except Exception, e:
- if "--debug" in myopts:
- raise
- print "\n\n!!! Problem in",mykey,"dependencies."
- print "!!!",str(e),e.__module__
- sys.exit(1)
+ print >> sys.stderr, "\n\n!!! Problem in '%s' dependencies." % mykey
+ print >> sys.stderr, "!!!", str(e), e.__module__
+ raise
if not self.mysd:
return (0,myfavorites)