7

python2 cleanups

This commit is contained in:
Paul J Stevens
2018-05-26 12:06:35 +02:00
parent bb34bddaf4
commit 8a151e3bab
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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.