8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 03:13:12 +00:00

Now you don't see me anymore.

This commit is contained in:
Hugo Levy-Falk 2020-05-01 12:27:37 +02:00 committed by Gabriel Detraz
parent 0156952c12
commit 8d79720bf2

View file

@ -130,7 +130,6 @@ class Machine(RevMixin, FieldPermissionModelMixin, AclMixin, models.Model):
:param user_request: Utilisateur qui fait la requête
:param userid: id de l'user dont on va créer une machine
:return: soit True, soit False avec la raison de l'échec"""
raise ValueError("Now you see me.")
try:
user = users.models.User.objects.get(pk=userid)
except users.models.User.DoesNotExist: