Changeset 5011193 in sasview for sansview


Ignore:
Timestamp:
Jun 9, 2011 4:26:11 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a2cb1f9
Parents:
59a59fa
Message:

revert previous commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/console.py

    r59a59fa r5011193  
    77import park 
    88from park.fitresult import FitHandler 
    9 import sys 
    10 IS_MAC = True 
    11 if sys.platform.count("win32") > 0: 
    12     IS_MAC = False 
     9 
    1310class ConsoleUpdate(FitHandler): 
    1411    """ 
     
    119116        """ 
    120117        self.elapsed_time = time.time() - self.elapsed_time 
    121         if IS_MAC: 
    122             msg = '' 
    123         else: 
    124             msg = " Updating fit ...\n result:\n %s \n"%self.result.__str__() 
     118        msg = " Updating fit ...\n result:\n %s \n"%self.result.__str__() 
    125119        wx.PostEvent(self.parent, StatusEvent(status=msg, info="info", 
    126120                                              type="progress")) 
Note: See TracChangeset for help on using the changeset viewer.