#NEWLINE# def _assert_valid_import( self , line , filename ) : #NEWLINE# #INDENT# if ( not line . strip ( ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# for tag in DISALLOWED_TAGS : #NEWLINE# #INDENT# self . assertNotRegexpMatches ( line [ 0 ] , line . strip ( ) , tag [ 1 ] )