[PATCH 8/8] Fix backtrace due to iscsi.getNode() not finding the iscsi node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 storage/iscsi.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/iscsi.py b/storage/iscsi.py
index 9629596..974fc89 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
-- 
1.6.2.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux