diff MoinMoin/i18n/msgfmt.py @ 1791:6dd2e29acffe

Eclipse PyDev Check: fixed lots of its errors and warnings
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 23 Feb 2007 02:16:07 +0100
parents 9dcd18a790ab
children c907c2942372
line wrap: on
line diff
--- a/MoinMoin/i18n/msgfmt.py	Thu Feb 22 18:51:15 2007 +0100
+++ b/MoinMoin/i18n/msgfmt.py	Fri Feb 23 02:16:07 2007 +0100
@@ -97,7 +97,7 @@
             elif section == STR:
                 msgstr += line
             else:
-                raise SyntaxErrorException('Syntax error on %s:%d, before:\n%s' % (infile, line_no, line))
+                raise SyntaxErrorException('Syntax error on line %d, before:\n%s' % (line_no, line))
         # Add last entry
         if section == STR:
             self.add(msgid, msgstr, fuzzy)