aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2012-01-28 11:31:26 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2012-01-28 11:31:26 -0600
commitb4e877ae9712df7c095d6a9c068ee6f2c234a059 (patch)
tree6f4c3b880006ed0e5a391086b09587dcd31912f5 /mediagoblin
parentda471f26f201e2e9912f6a51e05a299a8b139199 (diff)
downloadmediagoblin-b4e877ae9712df7c095d6a9c068ee6f2c234a059.tar.lz
mediagoblin-b4e877ae9712df7c095d6a9c068ee6f2c234a059.tar.xz
mediagoblin-b4e877ae9712df7c095d6a9c068ee6f2c234a059.zip
We were using translitcodec and I didn't understand how it worked ;)
My bad!
Diffstat (limited to 'mediagoblin')
-rw-r--r--mediagoblin/tools/url.py1
1 files changed, 1 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
import re
+import translitcodec
_punct_re = re.compile(r'[\t !"#$%&\'()*\-/<=>?@\[\\\]^_`{|},.]+')