Ignore:
Timestamp:
Nov 9, 2017 8:43:55 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
d6b8a1d
Parents:
7969b9c
git-author:
Piotr Rozyczko <rozyczko@…> (11/03/17 10:58:39)
git-committer:
Piotr Rozyczko <rozyczko@…> (11/09/17 08:43:55)
Message:

More Qt5 related fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/DataOperationUtilityPanel.py

    r4992ff2 rfbfc488  
    140140            data1 = self.data1 
    141141            data2 = self.data2 
    142             exec("output = data1 %s data2" % operator) 
    143         except: 
    144             raise 
     142            output = eval("data1 %s data2" % operator) 
     143        except Exception as ex: 
     144            logging.error(ex) 
     145            return 
    145146 
    146147        self.output = output 
Note: See TracChangeset for help on using the changeset viewer.