diff options
author | Georg Brandl <georg@python.org> | 2006-04-06 06:44:33 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-04-06 06:44:33 (GMT) |
commit | d9da722d85ebf573ebd497f396e05d6c697ebca0 (patch) | |
tree | 53df9da2850e231c745e1c5c292d4b6e3f2739ad /Tools/i18n | |
parent | 70d044ba67500ca8051b81269a50a9fb65676101 (diff) | |
download | cpython-d9da722d85ebf573ebd497f396e05d6c697ebca0.zip cpython-d9da722d85ebf573ebd497f396e05d6c697ebca0.tar.gz cpython-d9da722d85ebf573ebd497f396e05d6c697ebca0.tar.bz2 |
Bug #1451341: find fuzzy marks correctly.
Diffstat (limited to 'Tools/i18n')
-rwxr-xr-x | Tools/i18n/msgfmt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/i18n/msgfmt.py b/Tools/i18n/msgfmt.py index b4ae3e9..6433131 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] == '#': |