[Zope] Python method: recursive function gives NameError