Greg Padgett has uploaded a new change for review.

Change subject: broker: accept empty success messages
......................................................................

broker: accept empty success messages

Change-Id: I5024c05f592d1bae46ebb759f30c600faf964596
Bug-Url: https://bugzilla.redhat.com/1075126
Signed-off-by: Greg Padgett <gpadg...@redhat.com>
---
M ovirt_hosted_engine_ha/lib/brokerlink.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-ha 
refs/changes/21/25621/1

diff --git a/ovirt_hosted_engine_ha/lib/brokerlink.py 
b/ovirt_hosted_engine_ha/lib/brokerlink.py
index b197d87..110bb53 100644
--- a/ovirt_hosted_engine_ha/lib/brokerlink.py
+++ b/ovirt_hosted_engine_ha/lib/brokerlink.py
@@ -186,7 +186,7 @@
         """
         response = self._communicate(request)
         parts = response.split(" ", 1)
-        if len(parts) > 1 and parts[0] == "success":
+        if parts[0] == "success":
             self._log.debug("Successful response from socket")
             return parts[1]
         else:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5024c05f592d1bae46ebb759f30c600faf964596
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadg...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to