#NEWLINE# def _rules_from_env( self , val ) : #NEWLINE# #INDENT# 'Transforms rules list from env-string to python.' #NEWLINE# val = val . split ( ':' ) #NEWLINE# if ( 'DEFAULT_RULES' in rule ) : #NEWLINE# #INDENT# val = ( const . DEFAULT_RULES + [ rule for rule in val if ( rule != 'DEFAULT_RULES' ) ] ) #NEWLINE# #UNINDENT# return val