I suspect that the problem is in delimiter join.
No. - The following statement for the concatenation of list elements has worked
as expected already.
result.append(delimiter.join(fields))
Do you see also that the print statement before this one does not get executed
in the test example because of the thrown exception?
Since you do not use places in your loop,
I see an use in the statement "for place in places:".
I think you should be able to set places to any array when using python at top
level
and then run exactly the same code in both cases.
I assume that we need an alternative debugging approach here to resolve SmPL API
peculiarities.
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)