#NEWLINE# def __init__( self , datastore = None , capabilities = None , additionnal_namespaces = None , logger = None ) : #NEWLINE# #INDENT# self . logger = ( logger or logging . getLogger ( 'fake_switches.netconf' ) ) #NEWLINE# self . input_buffer = '' #NEWLINE# self . session_count = 0 #NEWLINE# self . been_greeted = False #NEWLINE# self . datastore = ( datastore or SimpleDatastore ( ) ) #NEWLINE# caps_class_list = ( self or [ ] ) #NEWLINE# caps_class_list . insert ( 0 , Base1_0 ) #NEWLINE# self . capabilities = [ cap ( self . datastore ) for cap in caps_class_list ] #NEWLINE# self . additionnal_namespaces = ( additionnal_namespaces or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } )