From 1cb53738cf236e7961078172eb6f604bcd09a223 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 27 Oct 2011 10:26:25 +0200 Subject: [PATCH] more details on hack in comment --- sfa/plc/api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sfa/plc/api.py b/sfa/plc/api.py index 4ce2f9e8..02d571ac 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -583,7 +583,9 @@ class SfaAPI(BaseAPI): else: oldList = [] newList = record.get(listName, []) - # ugly hack to see what's next + # xxx ugly hack - somehow we receive here a list of {'text':value} + # instead of an expected list of strings + # please remove once this is issue is cleanly fixed def normalize (value): from types import StringTypes from sfa.util.sfalogging import logger -- 2.47.0