[Zope] Seing if an attribute exist in an ObjectManager

Max Møller Rasmussen maxm@normik.dk
Tue, 29 May 2001 14:42:14 +0200


> From: Jerome Alet [mailto:alet@unice.fr]

> what you need is:
> 
> 	if imID not in self.objectIds() :
> 		# doesn't exist
> 	else:
> 		# already exists

If I had had half a brain I would have known it myself ... Guess i'm tired
:-) Thanks.

regards Max M