From: Georg Brandl Date: Thu, 6 Apr 2006 06:44:37 +0000 (+0000) Subject: Bug #1451341: find fuzzy marks correctly. X-Git-Tag: v2.4.4c1~285 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4cb2a7807e9a95c338761191d40c3d05cdada18;p=thirdparty%2FPython%2Fcpython.git Bug #1451341: find fuzzy marks correctly. (backport from rev. 43684) --- diff --git a/Tools/i18n/msgfmt.py b/Tools/i18n/msgfmt.py index b4ae3e943703..64331313cd6d 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] == '#':