X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=functions.py;h=90b380e24abbfded26b5a562edfdc33fbd6cab78;hp=8f9cf4173cf9c42bdfe977a2cadef59bc7781eb5;hb=e4fcd29b0d143168ba43be91e3c829eceefb0dd3;hpb=01340c360c525681f4502b480d5c4e1db33816c5 diff --git a/functions.py b/functions.py index 8f9cf41..90b380e 100644 --- a/functions.py +++ b/functions.py @@ -546,23 +546,20 @@ def check_Rresult(parent, pid) : if error[1] is None : error[1] = 'None' parent.Rerror = '\n'.join([str(pid.returncode), '\n'.join(error)]) - #try : - #raise Exception('\n'.join([u'Erreur R', '\n'.join(error[1:])])) - BugReport(parent) + try : + raise Exception('\n'.join([u'Erreur R', '\n'.join(error[1:])])) + except : + BugReport(parent) return False - #except : - # BugReport(parent) else : return True else : if pid != 0 : - BugReport(parent) + try : + raise Exception(u'Erreur R') + except : + BugReport(parent) return False - #try : - #raise Exception(u'Erreur R') - #return False - #except : - # BugReport(parent) else : return True