On Tue, 5 Jun 2007, Andi Vajda wrote:
Code that was written, assuming:
if collection:
... # collection is None or some other 'False'-worth object
else:
... # collection is an Item
needs to change to reflect the new meaning:
if collection:
... # collection is not None or an empty collection item
else:
... # collection is None or an empty collection item
In other words, code now needs to check against None instead.
if collection is not None:
...
Andi..
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev