def get_document_queryset(self):
        try:
            queryset = self.smart_link.get_linked_document_for(self.document)
        except Exception as exception:
            queryset = Document.objects.none()

            if self.request.user.is_staff or self.request.user.is_superuser:
                messages.error(
                    self.request, _(exception % 'Smart link query error: %s')
                )

        return queryset
dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/linking/views.py/ResolvedSmartLinkView.get_document_queryset/swapped operands of `%`