Fix ArrayOfEnum's handling of empty arrays.

Prior to this change a value of `'{}'` would split into the list `['']`.
This commit is contained in:
Chase
2016-01-19 22:36:15 -08:00
parent 5a279e7ae4
commit a2badb751f
+1 -1
View File
@@ -579,7 +579,7 @@ use the following workaround type::
def handle_raw_string(value):
inner = re.match(r"^{(.*)}$", value).group(1)
return inner.split(",")
return inner.split(",") if inner else []
def process(value):
if value is None: