(self, vcs, command)
target function for a thread; worker
target function for a thread; worker
target function for a thread ; worker
def check(self, vcs, command):
        '''target function for a thread; worker'''
        status, root = self.get_output(vcs, self.expand_command(vcs, command))
        if status and root:
            changed_items = self.vcs_state.get('changed_items', {})
            changed_items.update(dict(self.set_value(vcs, root, i) for i in status if i != ''))
            self.vcs_state.update({vcs: True, 'changed_items': changed_items})
        else:
            self.vcs_state.update({vcs: False})
def check ( self , vcs , command ) : status , root = self . get_output ( vcs , self . expand_command ( vcs , command ) ) if status and root : changed_items = self . vcs_state . get ( 'changed_items' , { } ) changed_items . update ( dict ( self . set_value ( vcs , root , i ) for i in status if i != '' ) ) self . vcs_state . update ( { vcs : True , 'changed_items' : changed_items } ) else : self . vcs_state . update ( { vcs : False } )