mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Bug #1451341: find fuzzy marks correctly.
This commit is contained in:
parent
70d044ba67
commit
d9da722d85
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue