#NEWLINE# def __init__( self , pty = None , logger = None ) : #NEWLINE# #INDENT# self . host_context = HostContext ( ) #NEWLINE# self . pty = ( pty or DummyPty ( ) ) #NEWLINE# self . logger = ( pty or DummyLoggerInterface ( ) )