Commit f168a4f7 authored by chirac's avatar chirac

Merge branch 'machine_on_type_vlan' into 'dev'

L'autocreation renvoie l'interface crée

See merge request federez/re2o!212
parents a1c35832 a4007b98
......@@ -652,7 +652,7 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser,
self.notif_auto_newmachine(interface_cible)
except Exception as error:
return False, error
return True, "Ok"
return interface_cible, "Ok"
def notif_auto_newmachine(self, interface):
"""Notification mail lorsque une machine est automatiquement
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment