From 6e58395de0a70b7ae0d8271c0843e651ddbbed43 Mon Sep 17 00:00:00 2001 From: fijal Date: Wed, 7 Feb 2007 19:36:53 +0100 Subject: [PATCH] [svn r38095] getremoteerror does not raise! --HG-- branch : trunk --- py/test/rsession/master.py | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/py/test/rsession/master.py b/py/test/rsession/master.py index 73c32df57..8f3d50c5e 100644 --- a/py/test/rsession/master.py +++ b/py/test/rsession/master.py @@ -33,17 +33,11 @@ class MasterNode(object): # send start report self.reporter(repevent.SendItem(self.channel, item)) except IOError: - - try: - channel._getremoterror() - except: - # if this were not remote, we've got no clue - excinfo = py.code.ExceptionInfo() - for i in excinfo.traceback: - print str(i)[2:-1] - print excinfo - else: - raise + print "Sending error, channel IOError" + print channel._getremoterror() + # XXX: this should go as soon as we'll have proper detection + # of hanging nodes and such + raise def itemgen(colitems, reporter, keyword, reporterror): def rep(x):