Changeset 5251ec6 in sasview for src/sas/sasgui/perspectives/pr/pr_thread.py
- Timestamp:
- Oct 11, 2018 12:20:56 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1249
- Children:
- 98b9f32
- Parents:
- 67ed543
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/pr/pr_thread.py
rac07a3a r5251ec6 41 41 # Thread was interrupted, just proceed 42 42 pass 43 except :43 except Exception as exc: 44 44 if self.error_func is not None: 45 self.error_func("CalcPr.compute: %s" % sys.exc_value)45 self.error_func("CalcPr.compute: %s" % exc) 46 46 47 47 class EstimatePr(CalcThread): … … 69 69 # Thread was interrupted, just proceed 70 70 pass 71 except :71 except Exception as exc: 72 72 if self.error_func is not None: 73 self.error_func("EstimatePr.compute: %s" % sys.exc_value)73 self.error_func("EstimatePr.compute: %s" % exc) 74 74 75 75 class EstimateNT(CalcThread): … … 109 109 # Thread was interrupted, just proceed 110 110 pass 111 except :111 except Exception as exc: 112 112 if self.error_func is not None: 113 self.error_func("EstimatePr2.compute: %s" % sys.exc_value)113 self.error_func("EstimatePr2.compute: %s" % exc)
Note: See TracChangeset
for help on using the changeset viewer.