python2 cleanups
This commit is contained in:
@ -9,7 +9,7 @@ from wagtail_personalisation.rules import AbstractBaseRule
|
||||
from wagtail_personalisation.utils import create_segment_dictionary
|
||||
|
||||
|
||||
class BaseSegmentsAdapter(object):
|
||||
class BaseSegmentsAdapter:
|
||||
"""Base segments adapter."""
|
||||
|
||||
def __init__(self, request):
|
||||
|
@ -302,7 +302,7 @@ class PersonalisablePageMetadata(ClusterableModel):
|
||||
return Segment.objects.none()
|
||||
|
||||
|
||||
class PersonalisablePageMixin(object):
|
||||
class PersonalisablePageMixin:
|
||||
"""The personalisable page model. Allows creation of variants with linked
|
||||
segments.
|
||||
|
||||
|
Reference in New Issue
Block a user