From b311d402527a5a1667f88ce080a789800db92b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Wed, 8 Aug 2012 04:33:06 +0200 Subject: [PATCH] =?UTF-8?q?[Nolslib]=20Pr=C3=A9vention=20du=20cas=20"aucun?= =?UTF-8?q?=20volume=20avec=20un=20lun".?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ignore-this: 3a4022a9c11244c278ea06f3a2f86efc darcs-hash:20120808023306-b6762-4a0d57ecc2f035fcb81181c7ccb23d235b31ebcf.gz --- gestion/iscsi/nolslib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gestion/iscsi/nolslib.py b/gestion/iscsi/nolslib.py index 33996560..375ed273 100755 --- a/gestion/iscsi/nolslib.py +++ b/gestion/iscsi/nolslib.py @@ -106,6 +106,8 @@ class Nols(object): ## Fin cf juste en dessous for Object in Objects: + name = None + lun = None # Quand on passera à wheezy, décommenter ces lignes, et virer # la merde que j'ai fait juste après. #name = Object.findall("PROPERTY[@name='volume-name']")[0].text