From a73cf27101bd7c568fb658a0199ee5bdfe3b397d Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Sun, 12 Oct 2008 03:18:25 +0200 Subject: [PATCH] [ldap_crans] possibilit de dparamtrer la prise d'une machine Apparemment, _set('prise', []) suffit supprimer l'entre. darcs-hash:20081012011825-ffbb2-91c22805c1f28853d66983b05e8dbdf0fef71786.gz --- gestion/ldap_crans.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index a2b78759..3106ff41 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -2723,7 +2723,6 @@ class Machine(BaseClasseCrans): if new == 'N/A': if self._data.has_key('prise'): self._set('prise', []) - self._data.pop('prise') return if not re.match('^[a-cg-jmp][0-6][0-5][0-9]$', new.lower()):