#NEWLINE# def _RemoveLock( self ) : #NEWLINE# #INDENT# query = 'UPDATE locks SET lock_expiration=0, lock_owner=0 WHERE lock_expiration=%s AND lock_owner=%s AND subject_hash=unhex(md5(%s))' #NEWLINE# args = [ self . expires_lock , self . lock_token , self . subject ] #NEWLINE# self . store . ExecuteQuery ( query , args )