diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-24 12:02:07 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-24 12:02:07 -0500 |
| commit | c9d9cab99623fc72c64749419dc0c025b10dcd60 (patch) | |
| tree | b56e8fe3105106ead1acb7c9e18ab7ceec49c9eb | |
| parent | 4d813cabf9bd5dc8ea54673dae2d24a802a10fe3 (diff) | |
| download | external_python_mako-c9d9cab99623fc72c64749419dc0c025b10dcd60.tar.gz external_python_mako-c9d9cab99623fc72c64749419dc0c025b10dcd60.tar.bz2 external_python_mako-c9d9cab99623fc72c64749419dc0c025b10dcd60.zip | |
- changelog for [ticket:225]
| -rw-r--r-- | CHANGES | 4 | ||||
| -rw-r--r-- | test/test_babelplugin.py | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ 0.9.1 +- [bug] Fixed bug in Babel plugin where translator comments + would be lost if intervening text nodes were encountered. + Fix courtesy Ned Batchelder. [ticket:225] + - [bug] Fixed TGPlugin.render method to support unicode template names in Py2K - courtesy Vladimir Magamedov. diff --git a/test/test_babelplugin.py b/test/test_babelplugin.py index df2ed0f..023433d 100644 --- a/test/test_babelplugin.py +++ b/test/test_babelplugin.py @@ -13,8 +13,8 @@ import os class ExtractMakoTestCase(TemplateTest): - @skip_if(lambda: not babel, 'babel not installed: skipping babelplugin test') + @skip_if(lambda: not babel, 'babel not installed: skipping babelplugin test') def test_extract(self): mako_tmpl = open(os.path.join(template_base, 'gettext.mako')) messages = list(extract(mako_tmpl, {'_': None, 'gettext': None, |
