comparison MoinMoin/i18n/msgfmt.py @ 1792:c907c2942372

Eclipse PyDev Check: fixed lots of its errors and warnings
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 23 Feb 2007 09:38:23 +0100
parents 6dd2e29acffe
children 01f05e74aa9c
comparison
equal deleted inserted replaced
1791:6dd2e29acffe 1792:c907c2942372
59 ID = 1 59 ID = 1
60 STR = 2 60 STR = 2
61 section = None 61 section = None
62 fuzzy = False 62 fuzzy = False
63 line_no = 0 63 line_no = 0
64 msgid = msgstr = ''
64 # Parse the catalog 65 # Parse the catalog
65 for line in lines: 66 for line in lines:
66 line_no += 1 67 line_no += 1
67 # If we get a comment line after a msgstr, this is a new entry 68 # If we get a comment line after a msgstr, this is a new entry
68 if line.startswith('#') and section == STR: 69 if line.startswith('#') and section == STR: