[node-patches] Change in ovirt-node[master]: kdump: Syntax fix
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Tue Dec 10 19:06:08 UTC 2013
Fabian Deutsch has uploaded a new change for review.
Change subject: kdump: Syntax fix
......................................................................
kdump: Syntax fix
Change-Id: Iad0f65356352ec3e9602ede3e7cb73e7757e8e17
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/setup/core/kdump_page.py
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/75/22275/1
diff --git a/src/ovirt/node/setup/core/kdump_page.py b/src/ovirt/node/setup/core/kdump_page.py
index 58a4038..98bf7e3 100644
--- a/src/ovirt/node/setup/core/kdump_page.py
+++ b/src/ovirt/node/setup/core/kdump_page.py
@@ -194,14 +194,14 @@
except Exception as e:
# Restore the configuration
if saved_model["kdump.type"] == "nfs":
- model.update(saved_model["kdump.nfs_location"], None, None,
+ model.update(saved_model["kdump.nfs_location"], None, None,
None)
elif saved_model["kdump.type"] == "kdump.ssh_location":
if self.model()["kdump.ssh_key"] is not "":
- model.update(None, saved_model['kdump.ssh_location'],
+ model.update(None, saved_model['kdump.ssh_location'],
saved_model['kdump.ssh_key'], None)
else:
- model.update(None, saved_model['kdump.ssh_location'],
+ model.update(None, saved_model['kdump.ssh_location'],
None, None)
elif saved_model["kdump.type"] == "local":
model.update(None, None, None, True)
--
To view, visit http://gerrit.ovirt.org/22275
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad0f65356352ec3e9602ede3e7cb73e7757e8e17
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list