(self)
释放锁
释放锁
释放锁
def release(self):
        '''释放锁
        '''
        if self.isLocked():
            print "release..."
            key = self.produceKey('_lock')
            memclient.mclient.delete(key)
            self._locked = False
def release ( self ) : if self . isLocked ( ) : print "release..." key = self . produceKey ( '_lock' ) memclient . mclient . delete ( key ) self . _locked = False