Go ahead and dump a full traceback without having to enable --debug. There's no...
authorZac Medico <zmedico@gentoo.org>
Sat, 1 Jul 2006 02:39:09 +0000 (02:39 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 1 Jul 2006 02:39:09 +0000 (02:39 -0000)
svn path=/main/trunk/; revision=3724

bin/emerge

index e375dc96013a06ad29fa35014917c9fbeb19e180..4e1c37bead785723b66128cd76d453c34618a3c2 100755 (executable)
@@ -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)