From c38d693d767df2a873202876ea09e20e61da9dc8 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Mon, 26 Aug 2013 13:33:24 +0200 Subject: [PATCH] [attributs] Valeur par defaut pour ip et mdp wifi --- attributs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/attributs.py b/attributs.py index 3501199..3f01752 100644 --- a/attributs.py +++ b/attributs.py @@ -678,6 +678,7 @@ class ipHostNumber(Attr): category = 'base_tech' can_modify = [nounou] ldap_name = "ipHostNumber" + default = '' def parse_value(self, ip): if ip == '': @@ -697,6 +698,7 @@ class ip6HostNumber(Attr): category = 'base_tech' can_modify = [nounou] ldap_name = "ip6HostNumber" + default = '' def parse_value(self, ip6): if ip6 == '': @@ -759,6 +761,7 @@ class ipsec(Attr): legend = u'Clef wifi' category = 'wifi' ldap_name = "ipsec" + default = u'auto' def parse_value(self, val): if len(val) in [10, 22]: