diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-07-01 02:39:09 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-07-01 02:39:09 +0000 |
commit | fa40312f363c621f0305b5c9f952c00327861a85 (patch) | |
tree | 0949fe542d74b6c021ee79b930499cc64b61969d | |
parent | ff1d15b576b77f1cecc4db359d0103611f513fc9 (diff) | |
download | portage-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-x | bin/emerge | 8 |
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) |