#NEWLINE# def parse_list_action( self , list_element ) : #NEWLINE# #INDENT# if ( not all ( ( ( k in list_element ) for k in ( 'url' , ) ) ) ) : #NEWLINE# #INDENT# raise ConfigurationError ( 'Wrong configuration format for list element' ) #NEWLINE# #UNINDENT# if ( 'type' not in list_element . keys ( ) ) : #NEWLINE# #INDENT# list_element [ 'type' ] = self . NO_URL #NEWLINE# #UNINDENT# self . list_configuration [ 'action' ] = k