mirror of https://github.com/python/cpython
Bug #1451341: find fuzzy marks correctly.
This commit is contained in:
parent
70d044ba67
commit
d9da722d85
|
@ -127,7 +127,7 @@ def make(filename, outfile):
|
|||
section = None
|
||||
fuzzy = 0
|
||||
# Record a fuzzy mark
|
||||
if l[:2] == '#,' and l.find('fuzzy'):
|
||||
if l[:2] == '#,' and 'fuzzy' in l:
|
||||
fuzzy = 1
|
||||
# Skip comments
|
||||
if l[0] == '#':
|
||||
|
|
Loading…
Reference in New Issue