summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-04-06 06:44:33 (GMT)
committerGeorg Brandl <georg@python.org>2006-04-06 06:44:33 (GMT)
commitd9da722d85ebf573ebd497f396e05d6c697ebca0 (patch)
tree53df9da2850e231c745e1c5c292d4b6e3f2739ad /Tools
parent70d044ba67500ca8051b81269a50a9fb65676101 (diff)
downloadcpython-d9da722d85ebf573ebd497f396e05d6c697ebca0.zip
cpython-d9da722d85ebf573ebd497f396e05d6c697ebca0.tar.gz
cpython-d9da722d85ebf573ebd497f396e05d6c697ebca0.tar.bz2
Bug #1451341: find fuzzy marks correctly.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/i18n/msgfmt.py2
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] == '#':