[node-patches] Change in ovirt-node[master]: fix plugin name to not display version in the main table area

jboggs at redhat.com jboggs at redhat.com
Thu Apr 3 21:09:05 UTC 2014


Joey Boggs has uploaded a new change for review.

Change subject: fix plugin name to not display version in the main table area
......................................................................

fix plugin name to not display version in the main table area

Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1046431
Signed-off-by: Joey Boggs <jboggs at redhat.com>
Change-Id: I28f496fb0d39bddf55ef3a8d5f53cbf9b467352b
---
M src/ovirt/node/setup/core/plugins_page.py
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/15/26415/1

diff --git a/src/ovirt/node/setup/core/plugins_page.py b/src/ovirt/node/setup/core/plugins_page.py
index 93510fa..c675445 100644
--- a/src/ovirt/node/setup/core/plugins_page.py
+++ b/src/ovirt/node/setup/core/plugins_page.py
@@ -95,8 +95,8 @@
             name = changes["plugins.installed"]
             version, createdat = all_plugins[name]
             self.widgets["plugin.name"].text(name)
-            self.widgets["plugin.version"].text(version)
-            self.widgets["plugin.createdat"].text(createdat)
+            self.widgets["plugin.version"].text(version.strip())
+            self.widgets["plugin.createdat"].text(createdat.strip())
             self._model["plugin"] = name
 
     def on_merge(self, changes):
@@ -121,7 +121,7 @@
 
     def __list_of_plugins(self):
         sp = sorted(self.get_plugins_list().items())
-        return [(k, "%s (%s)" % (k, v[0])) for k, v in sp]
+        return [(k, "%s" % k) for k, v in sp]
 
     def get_plugins_list(self):
         plugin_dict = {}


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I28f496fb0d39bddf55ef3a8d5f53cbf9b467352b
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