Change in vdsm[master]: fix pep8 1.4.6 errors for el7 build

ybronhei at redhat.com ybronhei at redhat.com
Tue Mar 22 11:43:34 UTC 2016


Yaniv Bronhaim has uploaded a new change for review.

Change subject: fix pep8 1.4.6 errors for el7 build
......................................................................

fix pep8 1.4.6 errors for el7 build

Change-Id: Ia949c05cb82c9d79f06144a3d28d1ed41294b55d
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M contrib/repoplot
M lib/vdsm/response.py
2 files changed, 12 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/52/55052/1

diff --git a/contrib/repoplot b/contrib/repoplot
index 7ee4315..c4dcc2b 100755
--- a/contrib/repoplot
+++ b/contrib/repoplot
@@ -178,12 +178,14 @@
         #
         # Begin:
         # mailbox.SPMMonitor::DEBUG::2016-02-17
-        # 20:15:24,521::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
+        # 20:15:24,521::storage_mailbox::731::Storage.Misc.excCmd::
+        # (_checkForMail)
         # /usr/bin/taskset --cpu-list 0-7 dd ...
         #
         # End:
         # mailbox.SPMMonitor::DEBUG::2016-02-17
-        # 20:15:24,547::storage_mailbox::731::Storage.Misc.excCmd::(_checkForMail)
+        # 20:15:24,547::storage_mailbox::731::Storage.Misc.excCmd::
+        # (_checkForMail)
         # SUCCESS: ...
         (add_command, "::Storage.Misc.excCmd::(_checkForMail)",
             "mailbox_commands"),
@@ -192,12 +194,14 @@
         #
         # Begin:
         # 10db509a-d5e4-41e8-8751-1305f0852d68::DEBUG::2016-02-17
-        # 19:32:49,865::image::137::Storage.Image::(_wait_for_qemuimg_operation)
+        # 19:32:49,865::image::137::Storage.Image::
+        # (_wait_for_qemuimg_operation)
         # waiting for qemu-img operation to complete
         #
         # End:
         # 10db509a-d5e4-41e8-8751-1305f0852d68::DEBUG::2016-02-17
-        # 19:40:14,134::image::146::Storage.Image::(_wait_for_qemuimg_operation)
+        # 19:40:14,134::image::146::Storage.Image::
+        # (_wait_for_qemuimg_operation)
         # qemu-img operation has completed
         (add_qemuimg_operation,
             "::Storage.Image::(_wait_for_qemuimg_operation)",
diff --git a/lib/vdsm/response.py b/lib/vdsm/response.py
index 559c753..9a6f57f 100644
--- a/lib/vdsm/response.py
+++ b/lib/vdsm/response.py
@@ -43,11 +43,10 @@
 
 def success_raw(result=None, message=None):
     ret = {
-        'status':
-            {
-                "code": doneCode["code"],
-                "message": message or doneCode["message"],
-            }
+        'status': {
+            "code": doneCode["code"],
+            "message": message or doneCode["message"],
+        }
     }
 
     if result:


-- 
To view, visit https://gerrit.ovirt.org/55052
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia949c05cb82c9d79f06144a3d28d1ed41294b55d
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>


More information about the vdsm-patches mailing list