27 Feb
2011
27 Feb
'11
9:23 p.m.
On 27/02/2011 17:22, Tres Seaver wrote:
TypeError: 'DeclarativeMeta' object is not iterable
Why is that and how should I register an adapter against such a class?
UTSL: the 'required' argument passed to 'registerAdapter' is supposed to be a sequence of interfaces or classes, not a single interface or class. If a class, then it must be something which can be passed to 'implementedBy'.
Thanks. I blame mcdonc, got used to having actual docs for everything ;-) Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk