From: Thierry Parmentelat Date: Thu, 27 Oct 2011 08:26:25 +0000 (+0200) Subject: more details on hack in comment X-Git-Tag: sfa-1.1-1~13 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1cb53738cf236e7961078172eb6f604bcd09a223;p=sfa.git more details on hack in comment --- 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