Fix test error

This commit is contained in:
dhleong 2016-10-10 14:30:55 -04:00
parent 73343bd98f
commit d274dcd37a

View File

@ -61,7 +61,7 @@ class DiagnosticFilter( object ):
@staticmethod
def from_filetype( user_options, filetypes ):
base = dict( user_options[ 'quiet_messages' ] )
base = dict( user_options.get( 'quiet_messages', {} ) )
for filetype in filetypes:
type_specific = user_options.get( filetype + '_quiet_messages', {} )