#NEWLINE# @ data . setter #NEWLINE# def data( self , string ) : #NEWLINE# #INDENT# log . debug ( ( 'decode uri record ' + repr ( string ) ) ) #NEWLINE# if ( len ( p ) > 0 ) : #NEWLINE# #INDENT# p = min ( ord ( string [ 0 ] ) , ( len ( protocol_strings ) - 1 ) ) #NEWLINE# self . uri = ( protocol_strings [ p ] + string [ 1 : ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# log . error ( 'nothing to parse' )