summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR. Tyler Ballance <tyler@slide.com>2009-04-03 13:25:44 -0700
committerR. Tyler Ballance <tyler@slide.com>2009-04-03 13:25:44 -0700
commitcf953444864a04ff8a2480ecca2ef3183360c3e0 (patch)
tree215117105769c8f2b36d8ad02f7f736380aa29d6
parentd8677726b2481d396787e7f7cdf6b1e96f59f874 (diff)
downloadpython-cheetah-cf953444864a04ff8a2480ecca2ef3183360c3e0.tar.gz
Revert "Convert unicode compiled template to an utf8 char buffer when writing to a file"
This one never meant for the next branch but rather the unicode branch This reverts commit 158b56c8858f35669ee997ffd08a9e56aff3d75e.
-rwxr-xr-x[-rw-r--r--]src/CheetahWrapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CheetahWrapper.py b/src/CheetahWrapper.py
index 776a394..5a37f5e 100644..100755
--- a/src/CheetahWrapper.py
+++ b/src/CheetahWrapper.py
@@ -587,7 +587,7 @@ be named according to the same rules as Python modules.""" % tup)
sys.stdout.write(output)
else:
f = open(dst, 'w')
- f.write(output.encode('utf8'))
+ f.write(output)
f.close()