[Zope3-Users] boolean value of adapted objects

2007-04-03 Thread Thierry Florac
Hi, I have a little question about boolean values of adapted objects. For example, I had the following code : info = ISharedDataInfo(context, None) or \ IPrivateDataInfo(context, None) if info is not None: return context return None Even if

Re: [Zope3-Users] boolean value of adapted objects

2007-04-03 Thread Marius Gedminas
On Tue, Apr 03, 2007 at 12:46:25PM +0200, Thierry Florac wrote: I have a little question about boolean values of adapted objects. For example, I had the following code : info = ISharedDataInfo(context, None) or \ IPrivateDataInfo(context, None) if info is not None: