summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-01 02:39:09 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-01 02:39:09 +0000
commitfa40312f363c621f0305b5c9f952c00327861a85 (patch)
tree0949fe542d74b6c021ee79b930499cc64b61969d
parentff1d15b576b77f1cecc4db359d0103611f513fc9 (diff)
downloadportage-fa40312f363c621f0305b5c9f952c00327861a85.tar.gz
portage-fa40312f363c621f0305b5c9f952c00327861a85.tar.bz2
portage-fa40312f363c621f0305b5c9f952c00327861a85.zip
Go ahead and dump a full traceback without having to enable --debug. There's no sense in hiding valuable traceback info like that.
svn path=/main/trunk/; revision=3724
-rwxr-xr-xbin/emerge8
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/emerge b/bin/emerge
index e375dc960..4e1c37bea 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -903,11 +903,9 @@ class depgraph:
except SystemExit, e:
raise # Needed else can't exit
except Exception, e:
- if "--debug" in self.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)