(self, vcs)
launch threads
launch threads
launch threads
def start(self, vcs):
        '''launch threads'''
        command = self.view.settings().get('%s_path' % vcs, '')
        if command:  # user can set empty string to disable integration with vcs
            vars(self)['%s_thread' % vcs] = threading.Thread(target=self.check, args=(vcs, command))
            vars(self)['%s_thread' % vcs].start()
        else:
            self.vcs_state.update({vcs: False})
def start ( self , vcs ) : command = self . view . settings ( ) . get ( '%s_path' % vcs , '' ) if command : # user can set empty string to disable integration with vcs vars ( self ) [ '%s_thread' % vcs ] = threading . Thread ( target = self . check , args = ( vcs , command ) ) vars ( self ) [ '%s_thread' % vcs ] . start ( ) else : self . vcs_state . update ( { vcs : False } )