Don't use a raw string with \u escapes

Apparently, Python 3.2 doesn't process these in raw strings.
See https://mail.python.org/pipermail/python-list/2012-May/624756.html
and https://mail.python.org/pipermail/python-dev/2007-May/073042.html
This commit is contained in:
Matthew Dapena-Tretter 2013-12-14 12:54:26 -05:00
parent fb947b1937
commit c1e16696b1

View file

@ -16,7 +16,7 @@ from pilkit.utils import *
from .lib import NullHandler
bad_memcached_key_chars = re.compile(r'[\u0000-\u001f\s]+')
bad_memcached_key_chars = re.compile('[\u0000-\u001f\\s]+')
_autodiscovered = False