[sugar] [PATCH] Fix appearance of activity bundles (in Journal)

Bert Freudenberg bert
Wed Apr 23 15:48:06 EDT 2008


On 23.04.2008, at 21:32, Eben Eliason wrote:

> On Wed, Apr 23, 2008 at 3:26 PM, Bert Freudenberg <bert at freudenbergs.de 
> > wrote:
>>
>> On 23.04.2008, at 21:23, Eben Eliason wrote:
>>
>>> if jobject.metadata.has_key['title'] and
>>> jobject.metadata.has_key['title']:
>>
>>
>> Seems a bit redundant.
>
> I agree, but this is the root of the problem.  It represents the
> difference between checking for None and checking for a null string.

It does not. A computer will do what you write, not what you meant to  
write. Even if it's silly.

Read that line again ;)

- Bert -




More information about the Sugar-devel mailing list