Ignore:
Timestamp:
Apr 30, 2017 6:15:17 PM (7 years ago)
Author:
andyfaff
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a1b8fee
Parents:
b636dfc5
Message:

MAINT: using print function

Location:
src/sas/sasgui/perspectives/calculator
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/calculator/detector_editor.py

    r959eb01 r9c3d784  
    3434            self.set_values() 
    3535        except: 
    36             print "error", sys.exc_value 
     36            print("error", sys.exc_value) 
    3737 
    3838    def _define_structure(self): 
  • src/sas/sasgui/perspectives/calculator/gen_scatter_panel.py

    r7432acb r9c3d784  
    19981998            self.panel.set_volume_ctl_val(str(val)) 
    19991999        except: 
    2000             print "self.panel is not initialized yet" 
     2000            print("self.panel is not initialized yet") 
    20012001 
    20022002    def set_omfpanel_default_shap(self, shape): 
  • src/sas/sasgui/perspectives/calculator/image_viewer.py

    r7432acb r9c3d784  
    7878                wx.PostEvent(parent, StatusEvent(status=err_msg, info="error")) 
    7979            else: 
    80                 print err_msg 
     80                print(err_msg) 
    8181 
    8282    def choose_data_file(self, location=None): 
     
    301301                                                    info="error")) 
    302302            else: 
    303                 print err_msg 
     303                print(err_msg) 
    304304        return flag 
    305305 
     
    332332                                                    info="error")) 
    333333            else: 
    334                 print err_msg 
     334                print(err_msg) 
    335335        return flag 
    336336 
     
    361361                                                    info="error")) 
    362362            else: 
    363                 print err_msg 
     363                print(err_msg) 
    364364 
    365365        self.OnClose(event) 
  • src/sas/sasgui/perspectives/calculator/model_editor.py

    r7432acb r9c3d784  
    871871        # Put the cursor at appropriate position 
    872872        length = len(label) 
    873         print length 
     873        print(length) 
    874874        if label[length-1] == ')': 
    875875            length -= 1 
Note: See TracChangeset for help on using the changeset viewer.