Fix test error
This commit is contained in:
parent
73343bd98f
commit
d274dcd37a
@ -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', {} )
|
||||
|
Loading…
Reference in New Issue
Block a user