6403: false positive on pattern

This commit is contained in:
Jérôme Rapinat 2015-04-01 15:46:03 +02:00 committed by Ross Gammon
parent e74955d5f8
commit a7d63e2eee

View File

@ -118,7 +118,7 @@ class Check_named_fmt( Check ):
class Check_mapping_fmt( Check ): class Check_mapping_fmt( Check ):
# A pattern to find all {} # A pattern to find all {}
find_map_pat = re.compile('\{ \w+ \} \d* \D', re.VERBOSE) find_map_pat = re.compile('\{ \w+ \}', re.VERBOSE)
def __init__( self ): def __init__( self ):
Check.__init__( self ) Check.__init__( self )