Go ahead and dump a full traceback without having to enable --debug. This patch...
authorZac Medico <zmedico@gentoo.org>
Mon, 31 Jul 2006 16:52:08 +0000 (16:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 31 Jul 2006 16:52:08 +0000 (16:52 -0000)
svn path=/main/branches/2.1/; revision=4064

bin/emerge

index b7d33e4a3ab99f59d7d1f71e3d44d8edacd28274..d3faf66cd99b36e5db1182a821cdb184a63f5331 100755 (executable)
@@ -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)