[node-patches] Change in ovirt-node[master]: plugins_page:Avoid a newline for plugins name/version/data i...
hadong0720 at gmail.com
hadong0720 at gmail.com
Thu Jul 10 06:44:40 UTC 2014
hadong has uploaded a new change for review.
Change subject: plugins_page:Avoid a newline for plugins name/version/data installed info
......................................................................
plugins_page:Avoid a newline for plugins name/version/data installed info
Change-Id: I3a5ce5359016679bc0d85a610c76e838ddf6433c
Signed-off-by: hadong <hadong at redhat.com>
---
M src/ovirt/node/setup/core/plugins_page.py
1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/31/29831/1
diff --git a/src/ovirt/node/setup/core/plugins_page.py b/src/ovirt/node/setup/core/plugins_page.py
index 075a115..d9a35e3 100644
--- a/src/ovirt/node/setup/core/plugins_page.py
+++ b/src/ovirt/node/setup/core/plugins_page.py
@@ -166,9 +166,9 @@
(plugin_dir, f)
package = process.check_output(cmd.split(' ')
).strip()
- cmd = "rpm -q %s --qf 'NAME: %s DATE: \
- %%{version}-%%{release}.%%{arch} INST: \
- %%{INSTALLTIME:date}\\n'" %\
+ cmd = "rpm -q %s --qf 'NAME: %s DATE: " \
+ "%%{version}-%%{release}.%%{arch} INST: " \
+ "%%{INSTALLTIME:date}\\n'" %\
(package, package)
name, ver, install_date = re.match(
r'NAME: (.*?) DATE: (.*?) INST: (.*)',
@@ -186,9 +186,9 @@
cmd = 'rpm -q --qf %%{name} %s' % f
package = process.check_output(cmd.split(' ')
).strip()
- cmd = "rpm -q %s --qf 'NAME: %s DATE: \
- %%{version}-%%{release}.%%{arch} INST: \
- %%{INSTALLTIME:date}\\n'" %\
+ cmd = "rpm -q %s --qf 'NAME: %s DATE: " \
+ "%%{version}-%%{release}.%%{arch} INST: " \
+ "%%{INSTALLTIME:date}\\n'" %\
(package, package)
name, ver, install_date = re.match(
r'NAME: (.*?) DATE: (.*?) INST: (.*)',
--
To view, visit http://gerrit.ovirt.org/29831
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a5ce5359016679bc0d85a610c76e838ddf6433c
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