summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-07-31 17:00:36 +0200
committerHans de Goede <hdegoede@redhat.com>2009-08-04 10:56:33 +0200
commit99cd89c17ccbd633399bdd3e2b3fd77fbd8c3707 (patch)
tree91e31a1fc6c797612f09639e80bcdfc20ed7fd93
parentbd4e3b43924cc3f3a74892ffa3e0d3d426718858 (diff)
downloadanaconda-99cd89c17ccbd633399bdd3e2b3fd77fbd8c3707.tar.gz
anaconda-99cd89c17ccbd633399bdd3e2b3fd77fbd8c3707.tar.xz
anaconda-99cd89c17ccbd633399bdd3e2b3fd77fbd8c3707.zip
Fix backtrace due to iscsi.getNode() not finding the iscsi node
-rw-r--r--storage/iscsi.py2
1 files changed, 1 insertions, 1 deletions
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