commit | cf82617c6259db402d613a35204bfd8d5bebdaf2 | [log] [tgz] |
---|---|---|
author | Laurent DAVERIO <laurent@daverio.net> | Fri May 01 19:22:53 2015 +0200 |
committer | Laurent DAVERIO <laurent@daverio.net> | Fri May 01 19:22:53 2015 +0200 |
tree | 9b39f8328bb4f99539b535f4362cd81fdc10bec4 | |
parent | e8eea1b0f5db217fd25f5bd5fe895a4d43320a02 [diff] |
Reinstate commit d9bc582.
diff --git a/mako/ext/linguaplugin.py b/mako/ext/linguaplugin.py index 0e2065e..248fbaa 100644 --- a/mako/ext/linguaplugin.py +++ b/mako/ext/linguaplugin.py
@@ -33,7 +33,7 @@ source += compat.b(' pass') code = io.BytesIO(source) for msg in self.python_extractor( - self.filename, self.options, code, code_lineno): + self.filename, self.options, code, code_lineno -1): if translator_strings: msg = Message(msg.msgctxt, msg.msgid, msg.msgid_plural, msg.flags,