Ignore:
Timestamp:
Nov 22, 2010 10:36:42 AM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
32c0841
Parents:
cbaa2f4
Message:

working on pylint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • invariantview/perspectives/invariant/invariant_widgets.py

    r4e1c362 r4a2b054  
    1414 
    1515import wx 
    16 import os 
    17 from invariant_state import InvariantState as IState 
    18 import copy 
     16#import os 
     17#from invariant_state import InvariantState as IState 
     18#import copy 
    1919 
    2020class InvTextCtrl(wx.TextCtrl): 
     
    2525    def __init__(self, *args, **kwds): 
    2626        wx.TextCtrl.__init__(self, *args, **kwds) 
    27         ## Set to True when the mouse is clicked while the whole string is selected 
     27        ## Set to True when the mouse is clicked while  
     28        #the whole string is selected 
    2829        self.full_selection = False 
    2930        ## Call back for EVT_SET_FOCUS events 
     
    6061                # if not, select the whole string 
    6162                (start, end) = control.GetSelection() 
    62                 if start==end: 
    63                     control.SetSelection(-1,-1) 
     63                if start == end: 
     64                    control.SetSelection(-1, -1) 
    6465            
    6566 
    66      
    6767class OutputTextCtrl(wx.TextCtrl): 
    6868    """ 
Note: See TracChangeset for help on using the changeset viewer.