From d9da722d85ebf573ebd497f396e05d6c697ebca0 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 6 Apr 2006 06:44:33 +0000 Subject: [PATCH] Bug #1451341: find fuzzy marks correctly. --- Tools/i18n/msgfmt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/i18n/msgfmt.py b/Tools/i18n/msgfmt.py index b4ae3e94370..64331313cd6 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] == '#':