<s> """<STR_LIT>""" <EOL> from concoord . threadingobject . dcondition import DCondition <EOL> class Condition ( ) : <EOL> def __init__ ( self , lock = None ) : <EOL> self . condition = DCondition ( ) <EOL> def __repr__ ( self ) : <EOL> return repr ( self . condition ) <EOL> def acquire ( self , _concoord_command ) : <EOL> try : <EOL> self . condition . acquire ( _concoord_command ) <EOL> except Exception as e : <EOL> raise e <EOL> def release ( self , _concoord_command ) : <EOL> try : <EOL> self . condition . release ( _concoord_command ) <EOL> except Exception as e : <EOL> raise e <EOL> def wait ( self , _concoord_command ) : <EOL> try : <EOL> self . condition . wait ( _concoord_command ) <EOL> except Exception as e : <EOL> raise e <EOL> def notify ( self , _concoord_command ) : <EOL> try : <EOL> self . condition . notify ( _concoord_command ) <EOL> except Exception as e : <EOL> raise e <EOL> def notifyAll ( self , _concoord_command ) : <EOL> try : <EOL> self . condition . notifyAll ( _concoord_command ) <EOL> except Exception as e : <EOL> raise e <EOL> def __str__ ( self ) : <EOL> return str ( self . condition ) </s>
