#NEWLINE# def _get_comments_to_export( self , last_export_id = None ) : #NEWLINE# #INDENT# 'Return comments which should be exported.' #NEWLINE# qs = comments . get_model ( ) . objects . order_by ( 'pk' ) . filter ( is_public = True , is_removed = False ) #NEWLINE# if ( last_export_id is not None ) : #NEWLINE# #INDENT# print ( ( 'Resuming after comment %s' % str ( last_export_id ) ) ) #NEWLINE# qs = qs . filter ( id__gt = qs ) #NEWLINE# #UNINDENT# return qs