[node-patches] Change in ovirt-node[master]: pep8: fix errors in plugins.py
mburns at redhat.com
mburns at redhat.com
Fri May 24 16:40:24 UTC 2013
Michael Burns has uploaded a new change for review.
Change subject: pep8: fix errors in plugins.py
......................................................................
pep8: fix errors in plugins.py
1 line too long
3 redundant \
1 missed whitespace after ,
Change-Id: I94c43db463c45503a4effddea7064bc1a8ef9782
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M src/ovirt/node/setup/core/plugins_page.py
1 file changed, 6 insertions(+), 5 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/54/15054/1
diff --git a/src/ovirt/node/setup/core/plugins_page.py b/src/ovirt/node/setup/core/plugins_page.py
index 93bcc2c..c6c87eb 100644
--- a/src/ovirt/node/setup/core/plugins_page.py
+++ b/src/ovirt/node/setup/core/plugins_page.py
@@ -93,13 +93,13 @@
p_name = self._model["plugin"]
fn = None
if "button.drpm" in changes:
- fn = glob.glob("%s/delta-*-manifest-rpm-%s.txt" % \
- (p_manifests_dir,p_name))[0]
+ fn = glob.glob("%s/delta-*-manifest-rpm-%s.txt" %
+ (p_manifests_dir, p_name))[0]
elif "button.dsrpm" in changes:
- fn = glob.glob("%s/delta-*-manifest-srpm-%s.txt" % \
+ fn = glob.glob("%s/delta-*-manifest-srpm-%s.txt" %
(p_manifests_dir, p_name))[0]
elif "button.dfile" in changes:
- fn = glob.glob("%s/delta-*-manifest-file-%s.txt" % \
+ fn = glob.glob("%s/delta-*-manifest-file-%s.txt" %
(p_manifests_dir, p_name))[0]
if fn:
@@ -123,6 +123,7 @@
lines = p.readlines()
name = lines[0].strip().split(":")[1]
ver = lines[1].strip().split(":")[1]
- install_date = lines[2].strip().replace("Install Date:", "")
+ install_date = lines[2].strip().replace("Install " +
+ "Date:", "")
plugin_dict[name] = (ver, install_date)
return plugin_dict
--
To view, visit http://gerrit.ovirt.org/15054
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I94c43db463c45503a4effddea7064bc1a8ef9782
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <mburns at redhat.com>
More information about the node-patches
mailing list