Further remove python2-isms

This commit is contained in:
Deniz Turgut 2019-11-17 19:19:37 +03:00 committed by Kevin Yap
commit 49bc6ed47f
11 changed files with 35 additions and 91 deletions

View file

@ -62,7 +62,7 @@ class URLWrapper(object):
def _normalize_key(self, key):
subs = self.settings.get('SLUG_REGEX_SUBSTITUTIONS', [])
return str(slugify(key, regex_subs=subs))
return slugify(key, regex_subs=subs)
def __eq__(self, other):
if isinstance(other, self.__class__):