From a65b95d57720e46fcd4e2c5495674c119eaf1dcc Mon Sep 17 00:00:00 2001 From: pauget Date: Fri, 22 Oct 2004 14:33:51 +0200 Subject: [PATCH] Faute de frappe. darcs-hash:20041022123351-41617-f759b8f497c0e0feaf91c3dd7708962ebef61f46.gz --- gestion/ldap_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 98fc646b..fc8c0a37 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1991,7 +1991,7 @@ class machine(base_classes_crans) : def delete(self,comment='') : """ Destruction de la machines """ - if self.proprietaire()__class__ == crans and not isadm : + if self.proprietaire().__class__ == crans and not isadm : raise EnvironmentError(u'Il faut être administrateur pour effectuer cette opération.') if self.__typ == 'wifi' :