From: Christopher Allan Webber Date: Sat, 28 Jan 2012 17:31:26 +0000 (-0600) Subject: We were using translitcodec and I didn't understand how it worked ;) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b4e877ae9712df7c095d6a9c068ee6f2c234a059;p=mediagoblin.git We were using translitcodec and I didn't understand how it worked ;) My bad! --- diff --git a/mediagoblin/tools/url.py b/mediagoblin/tools/url.py index e2caed39..78b5dd63 100644 --- a/mediagoblin/tools/url.py +++ b/mediagoblin/tools/url.py @@ -15,6 +15,7 @@ # along with this program. If not, see . import re +import translitcodec _punct_re = re.compile(r'[\t !"#$%&\'()*\-/<=>?@\[\\\]^_`{|},.]+') diff --git a/setup.py b/setup.py index 4761f2b5..ca7d4ae2 100644 --- a/setup.py +++ b/setup.py @@ -57,6 +57,7 @@ setup( 'sphinx', 'PIL', 'Babel', + 'translitcodec', 'argparse', 'webtest', 'ConfigObj',