Alon Bar-Lev has uploaded a new change for review.

Change subject: core: consider tuple as mutli-string
......................................................................

core: consider tuple as mutli-string

Change-Id: Ib4dcbacb103dbf08567de82e70acb3ff48e0a259
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M src/otopi/common.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/16/17516/1

diff --git a/src/otopi/common.py b/src/otopi/common.py
index 125cbef..4eee430 100644
--- a/src/otopi/common.py
+++ b/src/otopi/common.py
@@ -68,7 +68,7 @@
         ret = constants.Types.INTEGER
     elif isinstance(value, str) or isinstance(value, builtins.unicode):
         ret = constants.Types.STRING
-    elif isinstance(value, list):
+    elif isinstance(value, list) or isinstance(value, tuple):
         ret = constants.Types.MULTI_STRING
     else:
         ret = constants.Types.OBJECT


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib4dcbacb103dbf08567de82e70acb3ff48e0a259
Gerrit-PatchSet: 1
Gerrit-Project: otopi
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to