[node-patches] Change in ovirt-node[master]: show correct disk details in hostvg page when other device c...
jboggs at redhat.com
jboggs at redhat.com
Wed Nov 28 16:07:42 UTC 2012
Joey Boggs has uploaded a new change for review.
Change subject: show correct disk details in hostvg page when other device checked
......................................................................
show correct disk details in hostvg page when other device checked
rhbz#880925
Change-Id: Ibe926d70975b57bbf03d4ff19b156464c6e452b7
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M scripts/ovirt-config-installer.py
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/55/9555/1
diff --git a/scripts/ovirt-config-installer.py b/scripts/ovirt-config-installer.py
index 0ebcf62..8f4a8ca 100644
--- a/scripts/ovirt-config-installer.py
+++ b/scripts/ovirt-config-installer.py
@@ -531,10 +531,10 @@
if self.hostvg_checkbox.getEntryValue(dev)[1] == 1 and dev != "OtherDevice":
self.hostvg_checkbox.setEntryValue("OtherDevice", selected = 0)
if self.hostvg_checkbox.getEntryValue("OtherDevice")[1] == 1 and dev == "OtherDevice":
- for dev in self.dev_names:
- dev = translate_multipath_device(dev)
- self.hostvg_checkbox.setEntryValue(dev, selected = 0)
- if "Location" in dev or "NoDevices" in dev:
+ for d in self.dev_names:
+ d = translate_multipath_device(d)
+ self.hostvg_checkbox.setEntryValue(d, selected = 0)
+ if "Location" in dev or "NoDevices" in dev or "OtherDevice" in dev:
blank_entry = ",,,,,"
dev_bus,dev_name,dev_size,dev_desc,dev_serial,dev_model = blank_entry.split(",",5)
else:
--
To view, visit http://gerrit.ovirt.org/9555
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibe926d70975b57bbf03d4ff19b156464c6e452b7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>
More information about the node-patches
mailing list