From 7238715500bc1bd6eca65b27611d0b02723b7795 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Tue, 26 Oct 2010 15:23:45 +0400 Subject: [PATCH] Fix converting from strlist to list. --- pym/cl_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/cl_utils.py b/pym/cl_utils.py index 059010d..23a4ae1 100644 --- a/pym/cl_utils.py +++ b/pym/cl_utils.py @@ -500,7 +500,7 @@ def convertStrListDict(val): if re.match("^{.*}$",val): return str2dict(val) # detect list - elif re.match("^[.*]$",val): + elif re.match("^\[.*\]$",val): return str2list(val) # else is simple string else: