#NEWLINE# def __init__( self , lock_id = None , owner_id = None ) : #NEWLINE# #INDENT# super ( Lock , self ) . __init__ ( ) #NEWLINE# self . lock_id = lock_id #NEWLINE# ( self . _GenerateOwnerId ( ) if ( lock_id is None ) else self . _SetOwnerId ( owner_id ) ) #NEWLINE# self . _is_released = False #NEWLINE# self . _timeout = None #NEWLINE# self . _renewing = False