#NEWLINE# def value( self ) : #NEWLINE# #INDENT# val = b'' #NEWLINE# for k in self . field . keys ( ) : #NEWLINE# #INDENT# if self . field [ k ] : #NEWLINE# #INDENT# val += ( ( b'' if ( val == b'' ) else b',' ) + k . encode ( 'utf-8' ) ) #NEWLINE# #UNINDENT# #UNINDENT# return val