From: Zac Medico Date: Mon, 31 Jul 2006 16:52:08 +0000 (-0000) Subject: Go ahead and dump a full traceback without having to enable --debug. This patch... X-Git-Tag: v2.1-r2~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6aa8bdd711cdaa253e803e32321c856468c1a100;p=portage.git 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 --- 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)