Fix test error
This commit is contained in:
parent
73343bd98f
commit
d274dcd37a
@ -61,7 +61,7 @@ class DiagnosticFilter( object ):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def from_filetype( user_options, filetypes ):
|
def from_filetype( user_options, filetypes ):
|
||||||
base = dict( user_options[ 'quiet_messages' ] )
|
base = dict( user_options.get( 'quiet_messages', {} ) )
|
||||||
|
|
||||||
for filetype in filetypes:
|
for filetype in filetypes:
|
||||||
type_specific = user_options.get( filetype + '_quiet_messages', {} )
|
type_specific = user_options.get( filetype + '_quiet_messages', {} )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user