From 99cd89c17ccbd633399bdd3e2b3fd77fbd8c3707 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 31 Jul 2009 17:00:36 +0200 Subject: Fix backtrace due to iscsi.getNode() not finding the iscsi node --- storage/iscsi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/iscsi.py b/storage/iscsi.py index 962959663..974fc8941 100644 --- a/storage/iscsi.py +++ b/storage/iscsi.py @@ -294,7 +294,7 @@ class iscsi(object): def getNode(self, name, address, port): for node in self.nodes: if node.name == name and node.address == address and \ - node.port == port: + node.port == int(port): return node return None -- cgit