Dan Kenigsberg has submitted this change and it was merged.

Change subject: fix TypeError of _eqSplit in vdsClient.py
......................................................................


fix TypeError of _eqSplit in vdsClient.py

if the arg is string 'xyz', the _eqSplit will into the 'else'
branch. and then k = ['xyz']. but list type can not be a hash key.
TypeError will come up.

throw a Exception to report this case, it is more clear what has
happended.

Change-Id: I98b5573499adaa1b64f8343b445cc16df8f60f3d
Signed-off-by: ShaoHe Feng <[email protected]>
---
M vdsm_cli/vdsClient.py
1 file changed, 3 insertions(+), 4 deletions(-)

Approvals:
  Dan Kenigsberg: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I98b5573499adaa1b64f8343b445cc16df8f60f3d
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: ShaoHe Feng <[email protected]>
Gerrit-Reviewer: Bing Bu Cao <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Mark Wu <[email protected]>
Gerrit-Reviewer: ShaoHe Feng <[email protected]>
Gerrit-Reviewer: Shu Ming <[email protected]>
Gerrit-Reviewer: Xu He Jie <[email protected]>
Gerrit-Reviewer: Zhou Zheng Sheng <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to