#NEWLINE# @ staticmethod #NEWLINE# def _decode_list( mv ) : #NEWLINE# #INDENT# if ( len ( mv ) == 0 ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# in_value = False #NEWLINE# value = '' #NEWLINE# i = 0 #NEWLINE# l = [ ] #NEWLINE# while ( i < len ( mv ) ) : #NEWLINE# #INDENT# if ( not in_value ) : #NEWLINE# #INDENT# if ( mv [ i ] == '$' ) : #NEWLINE# #INDENT# in_value = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( mv [ i ] != ';' ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( ( mv [ i ] == '$' ) and ( ( i + 1 ) < len ( mv ) ) and ( mv [ ( i + 1 ) ] == '$' ) ) : #NEWLINE# #INDENT# value += '$' #NEWLINE# i += 1 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( mv [ i ] == '$' ) : #NEWLINE# #INDENT# in_value = False #NEWLINE# l . append ( value ) #NEWLINE# value = '' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# value += mv [ i ] #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# i += 1 #NEWLINE# #UNINDENT# return mv