From a95e67bcaed2dfb36b6340fad1ea816fee1090ac Mon Sep 17 00:00:00 2001 From: Jon Pentland Date: Mon, 24 Oct 2022 21:10:26 +0100 Subject: [PATCH] Use py3 super syntax --- plone/app/discussion/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/comment.py b/plone/app/discussion/comment.py index c461048..0186a6e 100644 --- a/plone/app/discussion/comment.py +++ b/plone/app/discussion/comment.py @@ -143,7 +143,7 @@ class Comment( # Naive dates were always stored utc return old_date.replace(tzinfo=timezone.utc) return old_date - return super(Comment, self).__getattribute__(attr) + return super().__getattribute__(attr) @property def __name__(self):