Permalink
Browse files

.

  • Loading branch information...
1 parent 8711495 commit a81943566c217f5f7e62b27bed3ed244a0f02dfc @stargazer stargazer committed Jul 6, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 piston_perfect/custom_emitters.py
@@ -3,7 +3,6 @@
from django.utils.encoding import smart_unicode, force_unicode, smart_str
-## {{{ http://code.activestate.com/recipes/466341/ (r1)
def _to_unicode(string):
""" Return the unicode repsesentation of string"""
@@ -15,7 +14,7 @@ def _to_unicode(string):
return unicode(ascii_text)
def to_utf8(string):
- """Return the utf-8 encode representation of the string """
+ """Return the utf-8 encoded representation of the string """
unic = _to_unicode(string)
return unic.encode('utf-8')

0 comments on commit a819435

Please sign in to comment.