From 8ecdd3337418e6dfe3f163f224d64d87d12b38cb Mon Sep 17 00:00:00 2001 From: "R. Tyler Ballance" Date: Tue, 1 Sep 2009 14:34:10 -0700 Subject: Correct some double encoding issues (regressed in Unicode.JBQ_UTF8_Test8) Regression test courtesy of jbq@ Patch courtesy of mikeb@fedoraproject.org --- cheetah/Template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheetah/Template.py b/cheetah/Template.py index eeeeb95..aa924f8 100644 --- a/cheetah/Template.py +++ b/cheetah/Template.py @@ -779,7 +779,7 @@ class Template(Servlet): setattr(mod, baseclassName, baseclassValue) ## try: - co = compile(generatedModuleCode.encode(outputEncoding), __file__, 'exec') + co = compile(generatedModuleCode, __file__, 'exec') exec co in mod.__dict__ except SyntaxError, e: try: -- cgit v1.2.1