def _get_comments_to_export(self, last_export_id=None):
qs = comments.get_model().objects.order_by('<STR_LIT>').filter(is_public=True, is_removed=False)<EOL>if last_export_id is not None:<EOL><INDENT>print("<STR_LIT>" % str(last_export_id))<EOL>qs = qs.filter(id__gt=last_export_id)<EOL><DEDENT>return qs<EOL>
Return comments which should be exported.