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

> On Wed, Apr 23, 2008 at 3:26 PM, Bert Freudenberg <[EMAIL PROTECTED] 
> > 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 -

_______________________________________________
Sugar mailing list
[email protected]
http://lists.laptop.org/listinfo/sugar

Reply via email to