def useNonce(self, server_url, timestamp, salt):
        if abs(time.time() - timestamp) > openid.store.nonce.SKEW:
            return False
        
        query = [
                Q(server_url__exact=server_url),
                Q(timestamp__exact=timestamp),
                Q(salt__exact=salt),
        ]
        try:
            ononce = Nonce.objects.get(reduce(operator.and_, query))
        except Nonce.DoesNotExist:
            ononce = Nonce(
                    server_url=server_url,
                    timestamp=timestamp,
                    salt=salt
            )
            ononce.save()
            return True
        
        ononce.delete()

        return False
dataset/ETHPy150Open nicksergeant/snipt-old/django_authopenid/util.py/DjangoOpenIDStore.useNonce/swapped operands of `-`