6403: false positive on pattern

This commit is contained in:
Jérôme Rapinat 2015-04-01 15:46:03 +02:00
parent 5af7335e54
commit 50c1080d37

View File

@ -118,7 +118,7 @@ class Check_named_fmt( Check ):
class Check_mapping_fmt( Check ):
# 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 ):
Check.__init__( self )