[node-patches] Change in ovirt-node[master]: Try to fix 'Plugin' object has no attribute 'validate' issue

hadong0720 at gmail.com hadong0720 at gmail.com
Wed Sep 18 06:01:41 UTC 2013


hadong has uploaded a new change for review.

Change subject: Try to fix 'Plugin' object has no attribute 'validate' issue
......................................................................

Try to fix 'Plugin' object has no attribute 'validate' issue

Change-Id: Iec0afb1177902ffee120451e75ca566b98ce61fa
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirt/node/setup/core/kdump_page.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/49/19349/1

diff --git a/src/ovirt/node/setup/core/kdump_page.py b/src/ovirt/node/setup/core/kdump_page.py
index a1627d8..6641999 100644
--- a/src/ovirt/node/setup/core/kdump_page.py
+++ b/src/ovirt/node/setup/core/kdump_page.py
@@ -132,10 +132,10 @@
             w = "kdump.%s_location" % changes["kdump.type"]
             if w in net_types and w in self.widgets:
                 self.widgets[w].enabled(True),
-                self.validate({w: ""})
+                self.__validate({w: ""})
                 if w == "kdump.ssh_location":
                     self.widgets["kdump.ssh_key"].enabled(True),
-                    self.validate({"kdump.ssh_key": ""})
+                    self.__validate({"kdump.ssh_key": ""})
 
     def on_merge(self, effective_changes):
         """Applies the changes to the plugins model, will do all required logic


-- 
To view, visit http://gerrit.ovirt.org/19349
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iec0afb1177902ffee120451e75ca566b98ce61fa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list