mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Further remove python2-isms
This commit is contained in:
parent
1e0e541b57
commit
49bc6ed47f
11 changed files with 35 additions and 91 deletions
|
|
@ -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__):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue