#NEWLINE# def get_dynamic_provider_data( self , provider ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# xml_et = fromstring ( provider ) #NEWLINE# return xml_et . attrib #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# self . log . debug ( ( 'Testing provider for XML: %s' % e ) ) #NEWLINE# pass #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# jload = json . loads ( provider ) #NEWLINE# return jload #NEWLINE# #UNINDENT# except ValueError as e : #NEWLINE# #INDENT# self . log . debug ( ( 'Testing provider for JSON: %s' % e ) ) #NEWLINE# pass #NEWLINE# #UNINDENT# return None