[Zope] problem manage_upload

servel yannick yservel@glam.ac.uk
Thu, 19 Apr 2001 16:40:37 +0100


>>self.uploadImage(obj=self.i.filename%d %(f)
>Hugh, what strange expression is that?

It's an... home-made expression designed to meet a personal need.


>It is parsed as
>(self.i.filename % d) % f
>What you probably want is
>getattr(self.i, 'filename%d' % f)

getattr is what I want. I realised later that this problem was similar that
the one you already fixed...

Thanks a lot,

Yannick