From: Georg Brandl Date: Thu, 6 Apr 2006 06:44:33 +0000 (+0000) Subject: Bug #1451341: find fuzzy marks correctly. X-Git-Tag: v2.5a2~418 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9da722d85ebf573ebd497f396e05d6c697ebca0;p=python Bug #1451341: find fuzzy marks correctly. --- diff --git a/Tools/i18n/msgfmt.py b/Tools/i18n/msgfmt.py index b4ae3e9437..64331313cd 100755 --- a/Tools/i18n/msgfmt.py +++ b/Tools/i18n/msgfmt.py @@ -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] == '#':