From: Zac Medico Date: Sat, 1 Jul 2006 02:39:09 +0000 (-0000) Subject: Go ahead and dump a full traceback without having to enable --debug. There's no... X-Git-Tag: v2.1.1~320 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fa40312f363c621f0305b5c9f952c00327861a85;p=portage.git 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 --- 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)