Skip to content

Commit a2be8bb

Browse files
committed
fix super call for python 2
1 parent 70ca3f0 commit a2be8bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/collective/exportimport/serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ def fix_criteria(self, criterion):
603603
class CommentSerializer(Base):
604604

605605
def __call__(self, include_items=True):
606-
data = super().__call__(include_items)
606+
data = super(CommentSerializer, self).__call__(include_items)
607607
data["text"]["data"] = self.context.text
608608
data["text"]["mime-type"] = self.context.mime_type
609609
return data

0 commit comments

Comments
 (0)