#NEWLINE# def _remove_quotes( self , val ) : #NEWLINE# #INDENT# 'Helper that removes surrounding quotes from strings.' #NEWLINE# if ( not val ) : #NEWLINE# #INDENT# return self #NEWLINE# #UNINDENT# if ( ( val [ 0 ] in ( '"' , "'" ) ) and ( val [ ( - 1 ) ] == val [ 0 ] ) ) : #NEWLINE# #INDENT# val = val [ 1 : ( - 1 ) ] #NEWLINE# #UNINDENT# return val