6 Aug
2002
6 Aug
'02
2:01 p.m.
Sebastian Sippl <sebastian@proceryon.at> wrote:
I ve got a very strange problem:
I want to return a catalog value named 'from'. The problem is that i cant change the name of the value because its part of the tracker-source code(Maybe I could, but thats the worst solution).
When I access the catalog in the way,
for brain in catalog: print brain.from
i get a error because the name from is a python keyword !!
print getattr(brain, 'form') Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com