Skip to content
This repository has been archived by the owner on Mar 8, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct some double encoding issues (regressed in Unicode.JBQ_UTF8_Te…
…st8)

Regression test courtesy of jbq@
Patch courtesy of mikeb@fedoraproject.org
  • Loading branch information
R. Tyler Ballance committed Sep 1, 2009
1 parent 8bb8f0f commit 8ecdd33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cheetah/Template.py
Expand Up @@ -779,7 +779,7 @@ def __str__(self): return self.respond()
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:
Expand Down

0 comments on commit 8ecdd33

Please sign in to comment.